mirror of
https://github.com/ClusterCockpit/cc-examples.git
synced 2024-12-27 05:49:05 +01:00
19 lines
476 B
SYSTEMD
19 lines
476 B
SYSTEMD
|
[Unit]
|
||
|
Description=ClusterCockpit Web Server (Go edition)
|
||
|
Documentation=https://github.com/ClusterCockpit/cc-backend
|
||
|
Wants=network-online.target
|
||
|
After=network-online.target
|
||
|
After=mariadb.service mysql.service
|
||
|
|
||
|
[Service]
|
||
|
WorkingDirectory=/opt/monitoring/cc-backend
|
||
|
Type=notify
|
||
|
NotifyAccess=all
|
||
|
Restart=on-failure
|
||
|
RestartSec=30
|
||
|
TimeoutStopSec=100
|
||
|
ExecStart=/opt/monitoring/cc-backend/cc-backend -loglevel info -server -config ./config.json
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|