X-Git-Url: https://git.rohieb.name/stratum0-wiki.git/blobdiff_plain/70df24d02e796c2fcb6bce50b543fa386d700427..769d6c7f637fca92e917f853e1fbc9e26d33677c:/Gapadriel%2Fetherpad-service.mw?ds=sidebyside diff --git a/Gapadriel%2Fetherpad-service.mw b/Gapadriel%2Fetherpad-service.mw index 7fd2c538e..cebda83b1 100644 --- a/Gapadriel%2Fetherpad-service.mw +++ b/Gapadriel%2Fetherpad-service.mw @@ -5,8 +5,11 @@ 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