In ubuntu we do simple:
service MyService restart
service MyService stop
...
So, the service
command is good and simple. I need this simplicity: how to install service
command on Debian?
PS: this is an analog question, but here I need a command, not an explanation.
service
is not available if you login withsu
, but if you login withsu -
orsudo su
it will be available.. something about $PATH environment variable not being set correctly if only logging in withsu
– hanshenrik May 29 '19 at 20:51