This commit is contained in:
2026-07-08 16:55:33 +02:00
commit feb4d6951b
6 changed files with 144 additions and 0 deletions

20
cato-client-bin.install Normal file
View File

@@ -0,0 +1,20 @@
post_install() {
ldconfig
update-ca-trust
systemd-sysusers
systemd-tmpfiles --create cato-client-bin.conf
rm -f /var/run/cato-sdp.i /var/run/cato-sdp.o
systemctl daemon-reload
systemctl enable cato-client.service
systemctl try-restart cato-client.service
}
post_upgrade() {
post_install
}
post_remove() {
rm -f /var/run/cato-sdp.i /var/run/cato-sdp.o
systemctl disable --now cato-client.service 2>/dev/null || true
systemctl daemon-reload
}