RAID.tst: use screen(1) so that promiseutil(8) has a valid tty
[nagcollect.git] / contrib / Makefile.Darwin
1 #
2 # NagCollect -- Nagios Data Collector for Passive Checks
3 # Copyright (c)2009,2011 Alexander Barton, alex@barton.de
4 #
5
6 install-client:
7         [ -r /Library/LaunchDaemons/de.barton.nagcollect ] \
8                 && launchctl unload -w \
9                         /Library/LaunchDaemons/de.barton.nagcollect \
10                 || true
11         rm -f /Library/LaunchDaemons/de.barton.nagcollect
12         [ -r /Library/LaunchDaemons/de.barton.nagcollect.plist ] \
13                 && launchctl unload -w \
14                         /Library/LaunchDaemons/de.barton.nagcollect.plist \
15                 || true
16         rm -f /Library/LaunchDaemons/de.barton.nagcollect.plist
17         install -d -o 0 -g 0 -m 755 /Library/LaunchDaemons
18         install -c -o 0 -g 0 -m 644 -p client/lib/de.barton.nagcollect.plist \
19                 /Library/LaunchDaemons/de.barton.nagcollect.plist
20         launchctl load -w /Library/LaunchDaemons/de.barton.nagcollect.plist
21
22 .PHONY: install-client
23
24 # -eof-