add systemd service file to start daemon

This commit is contained in:
Dietmar Maurer 2018-11-30 17:27:33 +01:00
parent d3cb69c4e3
commit 3b4e7517a7
2 changed files with 12 additions and 1 deletions

11
debian/api-test-server.service vendored Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=Proxmox API Test Server
ConditionPathExists=/usr/sbin/api-test-server
After=syslog.service
[Service]
ExecStart=/usr/sbin/api-test-server start
Type=simple
[Install]
WantedBy=multi-user.target

2
debian/rules vendored
View File

@ -5,7 +5,7 @@
%:
dh $@
dh $@ --with=systemd
override_dh_auto_build: