Cualquier tutorial reciente sobre systemd le brindará los conceptos básicos sobre la ejecución de servicios con systemd.
# cat /etc/systemd/system/foo.service
[Unit]
Description=myservice
[Service]
ExecStart=/path/to/myservice/executable
[Install]
WantedBy=multi-user.target
Entonces actívalo:
systemctl daemon-reload
systemctl enable myservice
# Start / Stop
systemctl start myservice
systemctl stop myservice
Попробуйте включить отладку с помощью следующих параметров.
-d|--debug : Set debug level. Repeat from 1 to 6 times to increase the detail of messages sent to the log file and/or syslog (if configured). Overrides config file setting.
-v|--verbose : Set verbose level. Repeat from 1 to 3 times to increase the detail of messages sent to stdout and stderr. Overrides config file setting.