16 lines
306 B
Desktop File
16 lines
306 B
Desktop File
[Unit]
|
|
Description=4A agent daemon
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
LimitNOFILE=65535
|
|
|
|
Restart=always
|
|
ExecStart=/usr/local/omc/run/4a_agent -c /usr/local/omc/etc/4a_agent.yaml
|
|
RestartSec=2
|
|
RestartPreventExitStatus=1
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |