change from run.sh to pnpm run in systemd

This commit is contained in:
meaz 2024-03-23 23:08:29 +01:00
parent 06dd627ee0
commit aeff82afdf
Signed by: meaz
GPG key ID: CD7A47B2F1ED43B4

View file

@ -8,7 +8,7 @@ User={{ etherpad_username }}
Group={{ etherpad_group }}
WorkingDirectory={{ etherpad_app_dir }}/app
Environment=NODE_ENV=production
ExecStart={{ etherpad_app_dir }}/app/bin/run.sh
ExecStart=pnpm run prod
StandardOutput=file:{{ etherpad_logfile }}
Restart=always
RestartSec=3