diff --git a/etherpad/templates/etherpad@.service.j2 b/etherpad/templates/etherpad@.service.j2 index d51a802203a1ce4b4742171962cb674b03c4666f..da80b8194dd918bddbdadbeebc0088ed726c8e20 100644 --- a/etherpad/templates/etherpad@.service.j2 +++ b/etherpad/templates/etherpad@.service.j2 @@ -11,7 +11,7 @@ Group=etherpad UMask=0002 ExecStartPre={{etherpad_web_root}}/repository/bin/installDeps.sh ExecStart={{etherpad_web_root}}/repository/node_modules/ep_etherpad-lite/node/server.js --settings /etc/etherpad/%i-settings.json --apikey /etc/etherpad/%i-apikey.txt -ExecStoPPost=rm -f /run/etherpad/%i.socket +ExecStopPost=rm -f /run/etherpad/%i.socket WorkingDirectory={{etherpad_web_root}}/repository Restart=on-failure RestartSec=3