From 1c3d3031084ab80462e0358bc033c7adec497d3b Mon Sep 17 00:00:00 2001 From: Johannes Barthel Date: Fri, 13 Aug 2021 14:07:54 +0200 Subject: [PATCH] remove centos/amazon linux related files --- .../freeswitch.service.amzn2 | 58 ------------------- .../freeswitch.service.centos7 | 58 ------------------- .../bbb-freeswitch-core/opts-amzn2.sh | 4 -- .../bbb-freeswitch-core/opts-centos7.sh | 4 -- .../bbb-libreoffice-docker/opts-amzn2.sh | 5 -- 5 files changed, 129 deletions(-) delete mode 100644 build/packages-template/bbb-freeswitch-core/freeswitch.service.amzn2 delete mode 100644 build/packages-template/bbb-freeswitch-core/freeswitch.service.centos7 delete mode 100755 build/packages-template/bbb-freeswitch-core/opts-amzn2.sh delete mode 100755 build/packages-template/bbb-freeswitch-core/opts-centos7.sh delete mode 100755 build/packages-template/bbb-libreoffice-docker/opts-amzn2.sh diff --git a/build/packages-template/bbb-freeswitch-core/freeswitch.service.amzn2 b/build/packages-template/bbb-freeswitch-core/freeswitch.service.amzn2 deleted file mode 100644 index c7265a0f49..0000000000 --- a/build/packages-template/bbb-freeswitch-core/freeswitch.service.amzn2 +++ /dev/null @@ -1,58 +0,0 @@ -;;;;; Author: Travis Cross - -[Unit] -Description=freeswitch -After=syslog.target network.target local-fs.target - -[Service] -; service -Type=forking -PIDFile=/opt/freeswitch/var/run/freeswitch/freeswitch.pid -Environment="DAEMON_OPTS=-nonat" -EnvironmentFile=-/etc/default/freeswitch -ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS -TimeoutSec=45s -Restart=always -; exec -WorkingDirectory=/opt/freeswitch -User=freeswitch -Group=daemon - -LimitCORE=infinity -LimitNOFILE=100000 -LimitNPROC=60000 -LimitSTACK=250000 -LimitRTPRIO=infinity -LimitRTTIME=7000000 -IOSchedulingClass=realtime -IOSchedulingPriority=2 -#CPUSchedulingPolicy=rr -CPUSchedulingPriority=89 - -#UMask=0007 - -; alternatives which you can enforce by placing a unit drop-in into -; /etc/systemd/system/freeswitch.service.d/*.conf: -; -; User=freeswitch -; Group=freeswitch -; ExecStart= -; ExecStart=/usr/bin/freeswitch -ncwait -nonat -rp -; -; empty ExecStart is required to flush the list. -; -; if your filesystem supports extended attributes, execute -; setcap 'cap_net_bind_service,cap_sys_nice=+ep' /usr/bin/freeswitch -; this will also allow socket binding on low ports -; -; otherwise, remove the -rp option from ExecStart and -; add these lines to give real-time priority to the process: -; -; PermissionsStartOnly=true -; ExecStartPost=/bin/chrt -f -p 1 $MAINPID -; -; execute "systemctl daemon-reload" after editing the unit files. - -[Install] -WantedBy=multi-user.target - diff --git a/build/packages-template/bbb-freeswitch-core/freeswitch.service.centos7 b/build/packages-template/bbb-freeswitch-core/freeswitch.service.centos7 deleted file mode 100644 index c7265a0f49..0000000000 --- a/build/packages-template/bbb-freeswitch-core/freeswitch.service.centos7 +++ /dev/null @@ -1,58 +0,0 @@ -;;;;; Author: Travis Cross - -[Unit] -Description=freeswitch -After=syslog.target network.target local-fs.target - -[Service] -; service -Type=forking -PIDFile=/opt/freeswitch/var/run/freeswitch/freeswitch.pid -Environment="DAEMON_OPTS=-nonat" -EnvironmentFile=-/etc/default/freeswitch -ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS -TimeoutSec=45s -Restart=always -; exec -WorkingDirectory=/opt/freeswitch -User=freeswitch -Group=daemon - -LimitCORE=infinity -LimitNOFILE=100000 -LimitNPROC=60000 -LimitSTACK=250000 -LimitRTPRIO=infinity -LimitRTTIME=7000000 -IOSchedulingClass=realtime -IOSchedulingPriority=2 -#CPUSchedulingPolicy=rr -CPUSchedulingPriority=89 - -#UMask=0007 - -; alternatives which you can enforce by placing a unit drop-in into -; /etc/systemd/system/freeswitch.service.d/*.conf: -; -; User=freeswitch -; Group=freeswitch -; ExecStart= -; ExecStart=/usr/bin/freeswitch -ncwait -nonat -rp -; -; empty ExecStart is required to flush the list. -; -; if your filesystem supports extended attributes, execute -; setcap 'cap_net_bind_service,cap_sys_nice=+ep' /usr/bin/freeswitch -; this will also allow socket binding on low ports -; -; otherwise, remove the -rp option from ExecStart and -; add these lines to give real-time priority to the process: -; -; PermissionsStartOnly=true -; ExecStartPost=/bin/chrt -f -p 1 $MAINPID -; -; execute "systemctl daemon-reload" after editing the unit files. - -[Install] -WantedBy=multi-user.target - diff --git a/build/packages-template/bbb-freeswitch-core/opts-amzn2.sh b/build/packages-template/bbb-freeswitch-core/opts-amzn2.sh deleted file mode 100755 index c8c0689840..0000000000 --- a/build/packages-template/bbb-freeswitch-core/opts-amzn2.sh +++ /dev/null @@ -1,4 +0,0 @@ -. ./opts-global.sh - -OPTS="$OPTS -t rpm -d speex,opusfile --rpm-dist el7 --rpm-user freeswitch --rpm-group daemon --rpm-use-file-permissions" - diff --git a/build/packages-template/bbb-freeswitch-core/opts-centos7.sh b/build/packages-template/bbb-freeswitch-core/opts-centos7.sh deleted file mode 100755 index f1133627c9..0000000000 --- a/build/packages-template/bbb-freeswitch-core/opts-centos7.sh +++ /dev/null @@ -1,4 +0,0 @@ -. ./opts-global.sh - -OPTS="$OPTS -t rpm -d speex --rpm-dist el7 --rpm-user freeswitch --rpm-group daemon --rpm-use-file-permissions" - diff --git a/build/packages-template/bbb-libreoffice-docker/opts-amzn2.sh b/build/packages-template/bbb-libreoffice-docker/opts-amzn2.sh deleted file mode 100755 index 320c6414be..0000000000 --- a/build/packages-template/bbb-libreoffice-docker/opts-amzn2.sh +++ /dev/null @@ -1,5 +0,0 @@ -. ./opts-global.sh - -OPTS="$OPTS -t rpm --rpm-dist el7 -d net-tools" - -