We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1b566c commit 7144bcdCopy full SHA for 7144bcd
copy-config.service
logrotate-ntripcaster.timer
@@ -0,0 +1,10 @@
1
+[Unit]
2
+Description=Hourly Log Rotation for ntripcaster
3
+
4
+[Timer]
5
+OnCalendar=Hourly
6
+Persistent=true
7
8
+[Install]
9
+WantedBy=timers.target
10
update.sh
@@ -3,9 +3,10 @@
cp ntripcaster.conf /usr/local/ntripcaster/
cp ntripcaster.logrotate /usr/local/ntripcaster/
-cp *.service /etc/systemd/system
+cp *.service *.timer /etc/systemd/system
systemctl daemon-reload
systemctl try-restart ntripcaster.service
systemctl try-restart str2str.service
11
-systemctl try-restart logrotate-ntripcaster.service
+systemctl try-restart logrotate-ntripcaster.timer
12
0 commit comments