rate/api/api.service

19 lines
334 B
SYSTEMD
Raw Normal View History

2022-09-23 21:43:33 +02:00
[Unit]
Description=Api
After=network-online.target
[Service]
Type=simple
Restart=on-failure
User=node
Group=node
2022-10-15 22:04:27 +02:00
Environment="CONFIGFILE=/home/node/config/config.json"
2022-10-25 22:03:11 +02:00
Environment="NODE_ENV=production"
2022-09-23 21:43:33 +02:00
WorkingDirectory=/home/node/app
2022-10-16 15:28:42 +02:00
ExecStart=/usr/bin/node /home/node/app/dist/api/src/app.js
2022-09-23 21:43:33 +02:00
[Install]
WantedBy=multi-user.target