Add deployment service file and document system service setup
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
15
deployment/task-inventory.service
Normal file
15
deployment/task-inventory.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Task Inventory
|
||||
#RequiresMountsFor=...
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=task-inventory
|
||||
Group=task-inventory
|
||||
Type=simple
|
||||
ExecStart=node server.mjs
|
||||
WorkingDirectory= MUST BE FILLED IN
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user