fixed path of icecash.xml in service file [release 2.4.4-2mamba;Sun Feb 28 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 23:48:40 +01:00
parent 624bdb707e
commit db995d4111
2 changed files with 6 additions and 3 deletions

View File

@ -4,7 +4,7 @@ After=network.target
[Service]
CapabilityBoundingSet=~CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_KILL CAP_SYS_BOOT CAP_LINUX_IMMUTABLE CAP_CHOWN CAP_FSETID CAP_SETFCAP CAP_FOWNER CAP_IPC_OWNER CAP_NET_ADMIN CAP_IPC_LOCK CAP_SYS_CHROOT CAP_BLOCK_SUSPEND CAP_LEASE CAP_SYS_PACCT CAP_SYS_TTY_CONFIG CAP_WAKE_ALARM CAP_SYS_NICE CAP_SYS_RESOURCE CAP_DAC_OVERRIDE CAP_DAC_READ_SEARCH CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE CAP_MAC_ADMIN CAP_MAC_OVERRIDE CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW
ExecStart=/usr/bin/icecast -c /etc/icecast.xml
ExecStart=/usr/bin/icecast -c /etc/icecast2/icecast.xml
ExecReload=/usr/bin/kill -HUP $MAINPID
Group=icecast
IPAccounting=yes
@ -23,7 +23,7 @@ ProtectKernelLogs=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectSystem=strict
ReadOnlyPaths=/etc/icecast.xml
ReadOnlyPaths=/etc/icecast2/icecast.xml
RemoveIPC=true
RestrictAddressFamilies=~AF_AX25 AF_IPX AF_APPLETALK AF_X25 AF_DECnet AF_KEY AF_NETLINK AF_PACKET AF_RDS AF_PPPOX AF_LLC AF_IB AF_MPLS AF_CAN AF_TIPC AF_BLUETOOTH AF_ALG AF_VSOCK AF_KCM AF_XDP AF_UNIX
RestrictAddressFamilies=AF_INET AF_INET6

View File

@ -1,6 +1,6 @@
Name: icecast
Version: 2.4.4
Release: 1mamba
Release: 2mamba
Summary: Xiph Streaming media server that supports multiple audio formats.
Group: System/Servers
Vendor: openmamba
@ -115,6 +115,9 @@ install -D -m0644 %{SOURCE5} %{buildroot}%{_tmpfilesdir}/icecast.conf
#ChangeLog NEWS README TODO
%changelog
* Sun Feb 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.4-2mamba
- fixed path of icecash.xml in service file
* Tue Sep 29 2020 Automatic Build System <autodist@mambasoft.it> 2.4.4-1mamba
- automatic version update by autodist