etherpad/templates/etc/systemd/system/etherpad.service.j2
muppeth 48bd3bf10e Update to 2.0.2 (#19)
Bookworm requires npm as seperate package.

Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: #19
Reviewed-by: meaz <meaz@no-reply@disroot.org>
Co-authored-by: muppeth <muppeth@disroot.org>
Co-committed-by: muppeth <muppeth@disroot.org>
2024-05-13 22:49:52 +02:00

17 lines
358 B
Django/Jinja

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