Gapadriel/etherpad-service: Unterschied zwischen den Versionen

Aus Stratum 0
Wechseln zu:Navigation, Suche
K (<pre>-Tag für korrekte Darstellung des Unitfiles)
K (Änderungen von Jay (Diskussion) wurden auf die letzte Version von Daniel Bohrer zurückgesetzt)
 
Zeile 1: Zeile 1:
<pre>
 
 
[Unit]
 
[Unit]
 
Description=Run Etherpad-lite, the collaborative editor.
 
Description=Run Etherpad-lite, the collaborative editor.
 
After=rsyslog.service network.target
 
After=rsyslog.service network.target
 
Requires=rsyslog.service network.target
 
Requires=rsyslog.service network.target
+
 
 
[Service]
 
[Service]
 
Type=simple
 
Type=simple
Zeile 14: Zeile 13:
 
User=etherpad
 
User=etherpad
 
Group=etherpad
 
Group=etherpad
+
 
 
[Install]
 
[Install]
 
WantedBy=multi-user.target
 
WantedBy=multi-user.target
</pre>
 

Aktuelle Version vom 19. April 2018, 20:54 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