Skip to content

Commit c2612e1

Browse files
committed
service file for alert daemon
1 parent 4f70563 commit c2612e1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

o2-infologger-alert.service

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[Unit]
2+
Description=O2 infoLogger alert daemon, generating alerts from log messages.
3+
After=network.target
4+
5+
[Service]
6+
Type=simple
7+
TimeoutSec=5
8+
ExecStart=/opt/o2-InfoLogger/bin/o2-infologger-alert -z /etc/o2.d/infologger/infoLogger.cfg
9+
ExecStop=/usr/bin/kill -s SIGTERM $MAINPID
10+
GuessMainPID=1
11+
Restart=always
12+
13+
[Install]
14+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)