summarylogtreecommitdiffstats
path: root/mondoo.service
blob: 2b723e88f1cc310014a29287de40e505478e19b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Mondoo Service
After=network-online.target

[Service]
Type=simple
WorkingDirectory=/opt/mondoo/bin/
ExecStart=/usr/bin/cnspec --config /etc/opt/mondoo/mondoo.yml serve
KillMode=process
Restart=on-failure
RestartSec=90
RestartPreventExitStatus=78

[Install]
WantedBy=multi-user.target