13 lines
229 B
SYSTEMD
13 lines
229 B
SYSTEMD
|
[Unit]
|
||
|
Description=Courselore
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/root/courselore/courselore /root/courselore/configuration.js
|
||
|
Environment=NODE_ENV=production
|
||
|
User=root
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|