* 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>
29 lines
834 B
Desktop File
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
|