Add a systemd service file
This lets us start the doorsd daemon automatically on startup. We also configure it to restart if the daemon is ever killed. Signed-off-by: Workantile <maintainers@workantile.com>master
parent
b587efd49f
commit
ed1ddbcf0e
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Workantile Doors RFID Daemon
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/doorsd
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue