add start script and sample systemd service
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
47e3cafc8b
commit
b69d248560
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