Skip to content

Commit

Permalink
Create dashing-icinga2.service
Browse files Browse the repository at this point in the history
Script for systemd

refs #6

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
  • Loading branch information
tachtler authored and Michael Friedrich committed Apr 13, 2017
1 parent a459eda commit 70149d0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dashing-icinga2.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
Description=Dashing-Icinga2 host/service/network monitoring system
After=syslog.target network.target postgresql.service mariadb.service carbon-cache.service icinga2.service

[Service]
Type=forking
WorkingDirectory=/usr/share/dashing-icinga2
ExecStart=/usr/local/bin/dashing start -d -p 8005 --pid /var/run/thin.pid
ExecStop=/usr/local/bin/dashing stop

[Install]
WantedBy=multi-user.target

0 comments on commit 70149d0

Please sign in to comment.