services/siahsd: Install from Debian package
Some checks failed
Test / build (push) Failing after 57s

This commit is contained in:
polyfloyd 2025-05-09 14:34:44 +02:00
parent 4f6025849f
commit 3a0071abfa
6 changed files with 10 additions and 55 deletions

View file

@ -1,3 +1,5 @@
# {{ ansible_managed }}
[siahsd]
pid file = /var/lib/siahsd/siahsd.pid
log file = /var/log/siahsd/siahsd.log
@ -5,13 +7,6 @@ log level = 3
foreground = 0
event handlers = script
#[database]
#driver = mysql
#host = localhost
#name = siahsd
#username = siahsd
#password = MysbJxAaawmwKPqD
[siahs]
port = 4000
@ -19,21 +14,5 @@ port = 4000
port = 9000
rsa key file = something.sexp
#[jsonbot]
#address = 192.168.88.15
#port = 5500
#aes key = blablablablablaz
#password = mekker
#privmsg to = #bitlair
#[spacestate]
#driver = mysql
#host = localhost
#name = bitwifi
#username = bitwifi
#password = aGWERQpLEQPUaXJV
#open script = /opt/alarm/disarmed.sh
#close script = /opt/alarm/armed.sh
[script]
path = /opt/alarm/siahsd_handler.sh

View file

@ -1,17 +0,0 @@
# Managed by Ansible
[Unit]
Description=Siahsd
After=network.target
[Service]
Type=forking
PIDFile=/var/lib/siahsd/siahsd.pid
Restart=always
RestartSec=10s
ExecStartPre=-/bin/rm /var/lib/siahsd/siahsd.pid
ExecStart=/usr/local/src/siahsd/build/siahsd
User=siahsd
[Install]
WantedBy=multi-user.target