fixed systemd unit file

This commit is contained in:
ari melody 2023-09-30 09:06:25 +01:00
parent 161dfcd1f9
commit 33b16ad70f
Signed by: ari
GPG key ID: CF99829C92678188

View file

@ -7,7 +7,8 @@ Environment="PORT=443"
Environment="SSL_CERT=/certs/arimelody.me/arimelody.me.crt"
Environment="SSL_KEY=/certs/arimelody.me/arimelody.me.key"
Type=simple
ExecStart=/usr/bin/npm run start
ExecStart=/usr/bin/node /srv/openterminal/server/main.js
WorkingDirectory=/srv/openterminal
Restart=on-failure
[Install]