blob: f206ee6230c61944814c5bd6ae7d008db773ae79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
[Unit]
Description=CMS post daemon
PartOf=cms-postd.socket
StartLimitIntervalSec=0
[Service]
Type=notify
NotifyAccess=main
ExecStart=/opt/cms/bin/cms-postd /opt/cms/etc/cms/db
ExecReload=/bin/kill -HUP $MAINPID
StandardOutput=journal
StandardError=journal
Restart=on-failure
RestartSec=5
User=cms-postd
Group=cms-postd
Nice=5
#Environment=RUST_BACKTRACE=1
[Install]
WantedBy=multi-user.target
|