OpenTerminal/OpenTerminal.service

16 lines
374 B
SYSTEMD
Raw Normal View History

2023-09-30 07:25:29 +00:00
[Unit]
Description=OpenTerminal Server
After=network.target
[Service]
Environment="PORT=443"
Environment="SSL_CERT=/certs/arimelody.me/arimelody.me.crt"
Environment="SSL_KEY=/certs/arimelody.me/arimelody.me.key"
Type=simple
2023-09-30 08:06:25 +00:00
ExecStart=/usr/bin/node /srv/openterminal/server/main.js
WorkingDirectory=/srv/openterminal
2023-09-30 07:25:29 +00:00
Restart=on-failure
[Install]
WantedBy=multi-user.target