I have a LSB script launching a daemon with commands like start
, stop
, restart
, but also with custom commands, like start-dump
.
Is it possible to achieve the same result with only a Systemd service unit definition? (no external script in /etc/init.d or whatever)
Note that start-dump
would basically do a /my/executable --dump
service
, which will allow extra verbs in/usr/libexec/initscripts/legacy-actions
and fall through to systemd for start, stop, etc.