OpenTerminal/OpenTerminal.service

15 lines
315 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
ExecStart=/usr/bin/npm run start
Restart=on-failure
[Install]
WantedBy=multi-user.target