ansible/roles/etherpad/templates/etherpad.service
2024-06-01 23:28:45 +02:00

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