====== Executer un service SystemD sans utiliser systemctl ======
Ouvrer le fichier correspondant au service cible par exemple pour etherpad :
vim /usr/lib/systemd/system/etherpad-lite.service
Vous obtenez ceci
[Unit]
Description=Etherpad-Lite server
After=syslog.target network.target
[Service]
Type=simple
User=etherpad
Group=etherpad
WorkingDirectory=/var/lib/etherpad-lite
ExecStart=/usr/share/webapps/etherpad-lite/bin/run.sh
[Install]
WantedBy=multi-user.target
Copier la ligne ExecStart puis retourner dans votre terminal et enfin appeler la commande associé ici
/usr/share/webapps/etherpad-lite/bin/run.sh
Dans certain cas il faut aussi penser aux problèmes d'accès groupe utilisateurs ...
Dans notre cas on voit qu'il faut etre dans le groupe etherpad pour executer proprement etherpad.