User Tools

Site Tools


brouillons:svxr_vm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
brouillons:svxr_vm [2021/05/10 22:10] – [Version 19.09.1] f4hofbrouillons:svxr_vm [2021/05/10 22:26] – [Logrotate] f4hof
Line 195: Line 195:
 ===== Systemd Units ===== ===== Systemd Units =====
  
-<code patch svxreflector@.service>+<code ini svxreflector@.service>
 [Unit] [Unit]
 Description=SvxLink Reflector for room %I Description=SvxLink Reflector for room %I
Line 220: Line 220:
  
  
-<code patch svxlink@.service>+<code ini svxlink@.service>
  
 [Unit] [Unit]
Line 245: Line 245:
  
  
-<code patch darkice@.service>+<code ini darkice@.service>
 [Unit] [Unit]
 Description=Darkice server for room %I Description=Darkice server for room %I
Line 390: Line 390:
 PREEMPHASIS=0 PREEMPHASIS=0
 </code> </code>
 +
 +==== Logrotate ====
 +
 +<code svxreflector>
 +/var/log/svxlink/svx-*.log {
 +    missingok
 +    notifempty
 +    weekly
 +    rotate 3
 +    create 0644 svxlink daemon
 +    postrotate
 +        killall -HUP svxreflector
 +    endscript
 +}
 +
 +/var/log/svxlink/svxlink-*.log {
 +    missingok
 +    notifempty
 +    weekly
 +    rotate 3
 +    create 0644 svxlink daemon
 +    postrotate
 +        killall -HUP svxreflector
 +    endscript
 +}
 +</code>
 +
 ===== Structure /var/svx ===== ===== Structure /var/svx =====
   * svxreflector-vhost.conf   * svxreflector-vhost.conf
brouillons/svxr_vm.txt · Last modified: 2021/05/11 06:48 by f4hof