Added systemd example files under example/systemd

This commit is contained in:
Olof hagsand 2018-07-13 13:13:11 +02:00
parent ee946a00f5
commit fd19640579
6 changed files with 40 additions and 3 deletions

View file

@ -0,0 +1,13 @@
[Unit]
Description=Starts and stops a clixon example service on this system
Wants=example_restconf.service
[Service]
Type=forking
User=root
RestartSec=60
Restart=on-failure
ExecStart=/usr/local/sbin/clixon_backend -s running -f /usr/local/etc/example.xml
[Install]
WantedBy=multi-user.target