Gapadriel/etherpad-service: Unterschied zwischen den Versionen

Aus Stratum 0
Wechseln zu:Navigation, Suche
(+NODE_ENV)
(+Restart)
Zeile 9: Zeile 9:
 
ExecStart=/var/lib/etherpad/etherpad-lite/bin/run.sh
 
ExecStart=/var/lib/etherpad/etherpad-lite/bin/run.sh
 
WorkingDirectory=/var/lib/etherpad/etherpad-lite/
 
WorkingDirectory=/var/lib/etherpad/etherpad-lite/
 +
Restart=always
 +
RestartSec=5
 
User=etherpad
 
User=etherpad
 
Group=etherpad
 
Group=etherpad

Version vom 11. April 2018, 19:06 Uhr

[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