add start script and sample systemd service
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
a716e7efab
commit
816c5a2c9e
11
proxmoxaas-api.service
Normal file
11
proxmoxaas-api.service
Normal 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
|
Loading…
Reference in New Issue
Block a user