4
Fork 0

Added files for Linux and OS X

This commit is contained in:
R3ABM Artem 2016-03-24 17:14:18 +04:00
parent 23ec3ede95
commit 8d0a9871d8
5 changed files with 81 additions and 25 deletions

5
debian/postinst vendored
View file

@ -15,14 +15,11 @@ then
ln -s -f $PREFIX/cronosagent.service /etc/systemd/system/multi-user.target.wants/cronosagent.service
systemctl daemon-reload
systemctl start systemd-modules-load
systemctl restart cronosagent
else
ln -s -f $PREFIX/cronosagent-daemon /etc/init.d/cronosagent
ln -s -f $PREFIX/cronosagent-init /etc/init.d/cronosagent
update-rc.d cronosagent defaults
service cronosagent restart
if [ -d /etc/monit/conf.d ]