Ubuntu service


```type   echo "#!/bin/bash### BEGIN INIT INFO# Provides:          svc# Required-Start:    $all# Required-Stop:# Default-Start:     2 3 4 5# Default-Stop:# Short-Description: svc description### END INIT INFO          " > /etc/init.d/svc          chmod 755 /etc/init.d/svc          chown root.root /etc/init.d/svc          systemctl enable svc          systemctl start svc```
