etherpad/templates/etc/systemd/system/etherpad.service.j2

18 lines
358 B
Text
Raw Permalink Normal View History

2021-03-14 17:53:38 +01:00
[Unit]
Description=Etherpad Server
After=syslog.target network.target
[Service]
Type=simple
User={{ etherpad_username }}
Group={{ etherpad_group }}
WorkingDirectory={{ etherpad_app_dir }}/app
2021-03-14 17:53:38 +01:00
Environment=NODE_ENV=production
ExecStart=pnpm run prod
2021-03-14 17:53:38 +01:00
StandardOutput=file:{{ etherpad_logfile }}
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target