Update Section_05/main.sh, Section_05/systemd.sh, Section_05/app.js, Section_05/test-node-process.service
This commit is contained in:
14
Section_05/test-node-process.service
Normal file
14
Section_05/test-node-process.service
Normal 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
|
||||
Reference in New Issue
Block a user