Gapadriel/etherpad-service: Unterschied zwischen den Versionen

Aus Stratum 0
Wechseln zu:Navigation, Suche
K (Daniel Bohrer verschob die Seite Gapadriel/etherpad.service nach Gapadriel/etherpad-service: "invalid file type" mit ?action=raw -.-)
(+NODE_ENV)
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/

Version vom 11. April 2018, 20:05 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/ User=etherpad Group=etherpad

[Install] WantedBy=multi-user.target