Update Section_05/main.sh, Section_05/systemd.sh, Section_05/app.js, Section_05/test-node-process.service

This commit is contained in:
Kishan Takoordyal
2023-05-19 18:08:41 +00:00
parent becdbc9586
commit 9aff32ff83
4 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Test Node Process
Documentation=https://api.konnect.dev/
After=network.target
[Service]
Type=simple
User=edgeking810
WorkingDirectory=/home/edgeking810/tmpNodeApp/
ExecStart=node app.js
Restart=always
[Install]
WantedBy=multi-user.target