[Unit] Description=SoftVisor Infrastructure Monitoring After=network-online.target snap.microk8s.daemon-kubelite.service Wants=network-online.target [Service] WorkingDirectory=/opt/monitoring EnvironmentFile=/opt/monitoring/.env ExecStart=/opt/monitoring/monitoring-server Restart=on-failure RestartSec=5 # The service manages apt and the cluster, so it runs as root; keep the rest tight. NoNewPrivileges=false ProtectSystem=false PrivateTmp=true UMask=0077 [Install] WantedBy=multi-user.target