17 lines
313 B
Desktop File
17 lines
313 B
Desktop File
# {{ ansible_managed }}
|
|
|
|
[Unit]
|
|
Description=Etherpad
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=10s
|
|
ExecStartPre=+/usr/bin/npm install pnpm -g
|
|
ExecStart=/opt/etherpad/bin/run.sh /var/log/etherpad.log
|
|
User=etherpad
|
|
Environment="NODE_ENV=production"
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|