Skip to content
Snippets Groups Projects
Commit 11bb5618 authored by Lars Beckers's avatar Lars Beckers
Browse files

etherpad: restart on all kinds of service termination

parent 36bc34ae
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ ExecStartPre={{etherpad_web_root}}/repository/bin/installDeps.sh ...@@ -13,7 +13,7 @@ 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 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 WorkingDirectory={{etherpad_web_root}}/repository
Restart=on-failure Restart=always
RestartSec=3 RestartSec=3
Environment="NODE_ENV=production" Environment="NODE_ENV=production"
StandardError=syslog StandardError=syslog
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment