12 lines
202 B
SYSTEMD
12 lines
202 B
SYSTEMD
|
[Unit]
|
||
|
Description=NodeJS ConoHa DNS API
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=node /home/ddns/app.js
|
||
|
Restart=always
|
||
|
User=root
|
||
|
Environment="NODE_ENV=production"
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|