Moved from ini to toml, fixed installation and new-domain permissions issues

This commit is contained in:
2026-02-27 12:51:54 +01:00
parent f4878e48d4
commit 2e52eae151
10 changed files with 683 additions and 305 deletions

34
certman.service Normal file
View File

@@ -0,0 +1,34 @@
[Unit]
Description=CertMan Certificate Manager Daemon
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=certman
Group=certman
WorkingDirectory=/var/local/certman
ExecStart=/usr/local/bin/certman daemon start
ExecReload=/usr/local/bin/certman daemon reload
ExecStop=/usr/local/bin/certman daemon stop
Restart=on-failure
RestartSec=2s
NoNewPrivileges=true
PrivateTmp=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
StandardOutput=journal
StandardError=journal
TimeoutStartSec=30
TimeoutStopSec=30
[Install]
WantedBy=multi-user.target