This website works better with JavaScript.
Home
Explore
Help
Sign In
ruhnet
/
kazoo-configs-kamailio
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
183
Wiki
Activity
Browse Source
Added timers for fs logrotate in systemd (
#114
)
4.1
Sean Wysor
9 years ago
committed by
bitbashing
parent
739da185fd
commit
4c72cd8597
2 changed files
with
15 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
system/systemd/kazoo-freeswitch-logrotate.service
+9
-0
system/systemd/kazoo-freeswitch-logrotate.timer
+ 6
- 0
system/systemd/kazoo-freeswitch-logrotate.service
View File
@ -0,0 +1,6 @@
[Unit]
Description
=
Run logrotate for freeswitch
[Service]
Type
=
oneshot
ExecStart
=
/usr/sbin/logrotate --force /etc/logrotate.d/freeswitch.conf
+ 9
- 0
system/systemd/kazoo-freeswitch-logrotate.timer
View File
@ -0,0 +1,9 @@
[Unit]
Description=Rotate the kazoo-freeswitch logs every 15 minutes
[Timer]
OnCalendar=*:0/15
Unit=kazoo-freeswitch-logrotate.service
[Install]
WantedBy=timers.target
Write
Preview
Loading…
Cancel
Save