server-monitor-manager/deploy/ochenstarik-smm-control.service
ochenstarik-ui 80b4797f2a
fix(enrollment): repair node enrollment path (#24)
* fix(enrollment): repair node enrollment path

Make trimmed Agent configuration fail closed, harden Control URL validation, add device-code and bootstrap delivery, and make alpha.7 Control updates migration- and recovery-safe.

* fix(enrollment): allow agent token cleanup

---------

Co-authored-by: Ochenstarik <ochenstarik@inbox.ru>
2026-08-09 22:32:53 +07:00

29 lines
834 B
Desktop File

[Unit]
Description=Ochenstarik Server Monitor Manager Control Hub
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=ochenstarik-smm-control
Group=ochenstarik-smm-control
EnvironmentFile=/etc/ochenstarik-server-monitor-manager/control.env
WorkingDirectory=/usr/local/lib/ochenstarik-server-monitor-manager/control
ExecStart=/usr/local/lib/ochenstarik-server-monitor-manager/control/ochenstarik-smm-control
Restart=on-failure
RestartSec=10s
PrivateTmp=true
PrivateDevices=true
ProtectSystem=strict
ProtectHome=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
LockPersonality=true
RestrictSUIDSGID=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
UMask=0077
ReadWritePaths=/var/lib/ochenstarik-server-monitor-manager/control
[Install]
WantedBy=multi-user.target