16 lines
374 B
Desktop File
16 lines
374 B
Desktop File
[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/node /srv/openterminal/server/main.js
|
|
WorkingDirectory=/srv/openterminal
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|