better installation

This commit is contained in:
2026-08-11 17:22:03 +02:00
parent 8af31c94b5
commit 84ea3b21a9
4 changed files with 10 additions and 4 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ command -v rrdtool >/dev/null 2>&1 || {
exit 1
}
install -d /usr/local/lib/cheap-system-monitor /var/lib/cheap-system-monitor
install -m 0755 system_monitor.py generate_graphs.py /usr/local/lib/cheap-system-monitor/
install -d /opt/cheap_system_monitor /var/lib/cheap-system-monitor
install -m 0755 system_monitor.py generate_graphs.py /opt/cheap_system_monitor/
install -m 0644 systemd/*.service systemd/*.timer /etc/systemd/system/
if [ ! -e /etc/cheap-system-monitor.conf ]; then
install -m 0644 cheap-system-monitor.conf.example /etc/cheap-system-monitor.conf