1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 maintainer = Michael Tremer <michael.tremer@ipfire.org>
11 groups = System/Monitoring
12 url = https://git.ipfire.org/?p=oddments/collecty.git;a=summary
14 summary = A system data collecting daemon.
17 collecty is a daemon which collects data from the
18 system like CPU usage and many more.
19 It has been designed with power efficiency in mind.
22 source_dl = https://source.ipfire.org/releases/collecty/
43 [ -e "configure" ] || ./autogen.sh
58 systemctl daemon-reload >/dev/null 2>&1 || :
60 # The collecty service should be started on default.
61 systemctl enable collecty.service > /dev/null 2>&1 || :
64 # Disable the service that is to be removed and stop it if it is still running.
66 systemctl --no-reload disable collecty.service >/dev/null 2>&1 || :
67 systemctl stop collecty.service >/dev/null 2>&1 || :
70 # Just tell systemd that unitfiles have been removed.
72 systemctl daemon-reload >/dev/null 2>&1 || :
75 # Try to restart the service if it is running.
77 systemctl daemon-reload >/dev/null 2>&1 || :
78 systemctl try-restart collecty.service >/dev/null 2>&1 || :
82 package %{name}-debuginfo