Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ian Eiloart
Sympl
Commits
b17c8d48
Commit
b17c8d48
authored
May 08, 2017
by
telyn
Browse files
Run symbiosis-monit from a systemd timer.
parent
84e1e331
Changes
4
Hide whitespace changes
Inline
Side-by-side
monit/debian/control
View file @
b17c8d48
...
...
@@ -3,7 +3,7 @@ Section: web
Priority: extra
Maintainer: James Carter <jcarter@bytemark.co.uk>
Uploaders: Patrick J Cherry <patrick@bytemark.co.uk>, Steve Kemp <steve@bytemark.co.uk>
Build-Depends: debhelper (>= 7.0.0), txt2man, gem2deb, ruby
Build-Depends: debhelper (>= 7.0.0), txt2man, gem2deb, ruby
, dh-systemd
Standards-Version: 3.9.6
XS-Ruby-Versions: all
...
...
monit/debian/rules
View file @
b17c8d48
...
...
@@ -14,7 +14,7 @@
#export DH_RUBY_GEMSPEC=gem.gemspec
%:
dh $@ --buildsystem=ruby --with ruby
dh $@ --buildsystem=ruby --with ruby
,systemd
override_dh_auto_build-indep:
$(MAKE) all
...
...
monit/debian/symbiosis-monit.service
0 → 100644
View file @
b17c8d48
[Unit]
Description
=
Symbiosis monitoring
[Service]
Type
=
oneshot
ExecStart
=
/usr/sbin/symbiosis-monit
monit/debian/symbiosis-monit.timer
0 → 100644
View file @
b17c8d48
[Unit]
Description=Regularly execute symbiosis-monit.service
[Timer]
# run every 2 minutes
OnCalendar=* *-*-* *:00,02,04,06,08,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58:00
[Install]
WantedBy=timers.target
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment