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-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
|