brouillons:svxr_vm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
brouillons:svxr_vm [2021/05/10 20:50] – [Precompiled NMU packages] f4hof | brouillons:svxr_vm [2021/05/10 22:26] – [Logrotate] f4hof | ||
---|---|---|---|
Line 38: | Line 38: | ||
# Install packages | # Install packages | ||
- | apt install lighttpd php7.4-cgi ufw | + | apt install |
# Lighttpd integration | # Lighttpd integration | ||
Line 46: | Line 46: | ||
systemctl reload lighttpd.service | systemctl reload lighttpd.service | ||
- | # TODO:Copy NMU deb packages in ~ | + | # Install Svxreflector |
+ | cd ~ | ||
+ | SYSVER=$(grep VERSION_ID / | ||
+ | if [[ " | ||
+ | then | ||
+ | wget "http:// | ||
+ | elif [[ " | ||
+ | then | ||
+ | wget " | ||
+ | else | ||
+ | echo " | ||
+ | exit 1 | ||
+ | fi | ||
dpkg -i ~/ | dpkg -i ~/ | ||
apt install -f | apt install -f | ||
Line 101: | Line 113: | ||
==== Version 17.12.1 ==== | ==== Version 17.12.1 ==== | ||
- | < | + | < |
Index: svxlink-17.12.1/ | Index: svxlink-17.12.1/ | ||
=================================================================== | =================================================================== | ||
Line 120: | Line 132: | ||
</ | </ | ||
- | < | + | < |
Index: svxlink-17.12.1/ | Index: svxlink-17.12.1/ | ||
=================================================================== | =================================================================== | ||
Line 142: | Line 154: | ||
==== Version 19.09.1 ==== | ==== Version 19.09.1 ==== | ||
- | < | + | < |
Index: svxlink-19.09.1/ | Index: svxlink-19.09.1/ | ||
=================================================================== | =================================================================== | ||
Line 161: | Line 173: | ||
</ | </ | ||
- | < | + | < |
Index: svxlink-19.09.1/ | Index: svxlink-19.09.1/ | ||
=================================================================== | =================================================================== | ||
Line 183: | Line 195: | ||
===== Systemd Units ===== | ===== Systemd Units ===== | ||
- | < | + | < |
[Unit] | [Unit] | ||
- | Description=SvxLink Reflector for room %l | + | Description=SvxLink Reflector for room %I |
Documentation=man: | Documentation=man: | ||
After=network.target remote-fs.target time.target | After=network.target remote-fs.target time.target | ||
Line 208: | Line 220: | ||
- | < | + | < |
[Unit] | [Unit] | ||
- | Description=SvxLink client for room %l | + | Description=SvxLink client for room %I |
Documentation=man: | Documentation=man: | ||
After=network.target remote-fs.target time.target sound.target svxreflector@%i.service | After=network.target remote-fs.target time.target sound.target svxreflector@%i.service | ||
Line 233: | Line 245: | ||
- | < | + | < |
[Unit] | [Unit] | ||
- | Description=Darkice server for room %l | + | Description=Darkice server for room %I |
Documentation=man: | Documentation=man: | ||
After=network.target time.target icecast2.service sound.target | After=network.target time.target icecast2.service sound.target | ||
Line 378: | Line 390: | ||
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.txt · Last modified: 2021/05/11 06:48 by f4hof