X-Git-Url: https://git.rohieb.name/stratum0-wiki.git/blobdiff_plain/0df5b950501d925c548c5f89266bedfe57300812..638a7c5b5459ad74892aafbf2592ca71c9a83343:/Gapadriel%2Fetherpad-service.mw?ds=sidebyside diff --git a/Gapadriel%2Fetherpad-service.mw b/Gapadriel%2Fetherpad-service.mw index 01dc3999f..fb487a1fe 100644 --- a/Gapadriel%2Fetherpad-service.mw +++ b/Gapadriel%2Fetherpad-service.mw @@ -1,15 +1,19 @@ +
 [Unit]
 Description=Run Etherpad-lite, the collaborative editor.
 After=rsyslog.service network.target
 Requires=rsyslog.service network.target
-
+ 
 [Service]
 Type=simple
 Environment=NODE_ENV=production
 ExecStart=/var/lib/etherpad/etherpad-lite/bin/run.sh
 WorkingDirectory=/var/lib/etherpad/etherpad-lite/
+Restart=always
+RestartSec=5
 User=etherpad
 Group=etherpad
-
+ 
 [Install]
 WantedBy=multi-user.target
+