Creating own systemd unit

Create a unit file in the /etc/systemd/system/ touch /etc/systemd/system/name.service chmod 664 /etc/systemd/system/name.service vim /etc/systemd/system/name.service [Unit] Description=service_description After=network.target [Service] ExecStart=path_to_executable Type=forking PIDFile=path_to_pidfile [Install] WantedBy=default.target