fix: systemd stuff; pipeline; packagebuild

This commit is contained in:
Florian Bauer
2025-01-22 13:32:24 +01:00
parent a0731fe67d
commit 4fa048090a
5 changed files with 97 additions and 0 deletions

4
init/ocspcrl.slice Normal file
View File

@@ -0,0 +1,4 @@
[Unit]
Description="OCSPCRL Server Instances"
[Slice]

16
init/ocspcrl@.service Normal file
View File

@@ -0,0 +1,16 @@
[Unit]
Description=OCSP / CRL server %i
After=network.target
ConditionPathExists=/etc/default/ocspcrl-%i
[Service]
IPAccounting=true
MemoryAccounting=true
Slice=ocspcrl.slice
EnvironmentFile=/etc/default/ocspcrl-%i
ExecStart=/usr/bin/ocspcrl $OCSPCRL_OPTS
ExecReload=/bin/kill -HUP $MAINPID
TimeoutStopSec=30
[Install]
WantedBy=multi-user.target

3
init/postinstall.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
systemctl daemon-reload
systemctl restart ocspcrl.slice