Gapadriel/etherpad-service: Unterschied zwischen den Versionen

Aus Stratum 0
Wechseln zu:Navigation, Suche
(systemd unit file für etherpad)
 
K (Änderungen von Jay (Diskussion) wurden auf die letzte Version von Daniel Bohrer zurückgesetzt)
 
(4 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 6: Zeile 6:
 
[Service]
 
[Service]
 
Type=simple
 
Type=simple
 +
Environment=NODE_ENV=production
 
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

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