diff options
author | Jonathan Steel <jsteel@archlinux.org> | 2015-06-08 18:37:33 +0100 |
---|---|---|
committer | Jonathan Steel <jsteel@archlinux.org> | 2015-06-08 18:37:33 +0100 |
commit | 403b591f0104d36ebd13eaddf6da2263941b8eae (patch) | |
tree | f924d70713ef8ef03283585c9a894445aa7c90af /naemon.service | |
download | AUR-403b591f0104d36ebd13eaddf6da2263941b8eae.tar.gz AUR-403b591f0104d36ebd13eaddf6da2263941b8eae.tar.zst AUR-403b591f0104d36ebd13eaddf6da2263941b8eae.zip |
Initial commit
Diffstat (limited to 'naemon.service')
-rw-r--r-- | naemon.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/naemon.service b/naemon.service new file mode 100644 index 0000000..6b3edc8 --- /dev/null +++ b/naemon.service | |||
@@ -0,0 +1,18 @@ | |||
1 | [Unit] | ||
2 | Description=Naemon Monitoring Daemon | ||
3 | Documentation=http://naemon.org/documentation | ||
4 | After=network.target | ||
5 | |||
6 | [Service] | ||
7 | Type=simple | ||
8 | PIDFile=/run/naemon.pid | ||
9 | ExecStartPre=/usr/bin/naemon -vp /etc/naemon/naemon.cfg | ||
10 | ExecStart=/usr/bin/naemon /etc/naemon/naemon.cfg | ||
11 | ExecReload=/bin/kill -HUP $MAINPID | ||
12 | User=naemon | ||
13 | Group=naemon | ||
14 | StandardOutput=journal | ||
15 | StandardError=inherit | ||
16 | |||
17 | [Install] | ||
18 | WantedBy=multi-user.target | ||