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
|
|
|
|
|
|
|
|
WorkingDirectory=/home/node/app
|
2022-10-10 12:18:50 +02:00
|
|
|
ExecStart=/usr/bin/node /home/node/app/dist/app.js
|
2022-09-23 21:43:33 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|