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 }}
|
2022-06-20 02:27:16 +02:00
|
|
|
WorkingDirectory={{ etherpad_app_dir }}/app
|
2021-03-14 17:53:38 +01:00
|
|
|
Environment=NODE_ENV=production
|
2024-05-13 22:49:52 +02:00
|
|
|
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
|