add start script and sample systemd service

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
alu committed 2023-02-10 21:58:22 +00:00
1 parent a716e7efab
commit 816c5a2c9e
2 files changed
+13

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=proxmoxaas-api
After=network.target
[Service]
WorkingDirectory=/<path to dir>/ProxmoxAAS-API/
ExecStart=/<path to dir>/ProxmoxAAS-API/start.sh
Restart=always
RestartSec=10
Type=simple
[Install]
WantedBy=default.target
Executable
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
node .