20 lines
409 B
Desktop File
20 lines
409 B
Desktop File
[Unit]
|
|
Description=CCCS daemon
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
# Do not limit the number of restarting times
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/etc/cccsd start
|
|
ExecStop=/etc/cccsd stop
|
|
PIDFile=/run/cccsd.pid
|
|
# Restart the service every 30 seconds if it fails
|
|
Restart=on-failure
|
|
RestartSec=30s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=cloud-connector.service
|