brouillons:svxr_vm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
brouillons:svxr_vm [2021/05/10 22:11] – [Systemd Units] f4hof | brouillons:svxr_vm [2021/05/11 06:48] (current) – f4hof | ||
---|---|---|---|
Line 40: | Line 40: | ||
apt install darkice icecast2 lighttpd php7.4-cgi ufw | apt install darkice icecast2 lighttpd php7.4-cgi ufw | ||
- | # Lighttpd | + | # Setup Lighttpd |
lighty-enable-mod fastcgi | lighty-enable-mod fastcgi | ||
lighty-enable-mod fastcgi-php | lighty-enable-mod fastcgi-php | ||
Line 68: | Line 68: | ||
chown www-data: | chown www-data: | ||
systemctl restart lighttpd.service | systemctl restart lighttpd.service | ||
+ | |||
+ | # Setup web iface | ||
+ | |||
# Firewalling | # Firewalling | ||
Line 390: | Line 393: | ||
PREEMPHASIS=0 | PREEMPHASIS=0 | ||
</ | </ | ||
+ | |||
+ | ==== Logrotate ==== | ||
+ | |||
+ | <code svxreflector> | ||
+ | / | ||
+ | missingok | ||
+ | notifempty | ||
+ | weekly | ||
+ | rotate 3 | ||
+ | create 0644 svxlink daemon | ||
+ | postrotate | ||
+ | killall -HUP svxreflector | ||
+ | endscript | ||
+ | } | ||
+ | |||
+ | / | ||
+ | missingok | ||
+ | notifempty | ||
+ | weekly | ||
+ | rotate 3 | ||
+ | create 0644 svxlink daemon | ||
+ | postrotate | ||
+ | killall -HUP svxreflector | ||
+ | endscript | ||
+ | } | ||
+ | </ | ||
+ | |||
===== Structure /var/svx ===== | ===== Structure /var/svx ===== | ||
* svxreflector-vhost.conf | * svxreflector-vhost.conf |
brouillons/svxr_vm.1620684675.txt.gz · Last modified: 2021/05/10 22:11 by f4hof