elpop / sipban

Block unwanted registrations from SIP Scan attack using Asterisk AMI and iptables
GNU General Public License v3.0
13 stars 10 forks source link

Almalinux 8 test #6

Open rickygm opened 1 year ago

rickygm commented 1 year ago

Hi, I'm doing tests and the service fails

sipban.service - SIP Ban Service Loaded: loaded (/etc/systemd/system/sipban.service; enabled; vendor preset: disabled) Active: activating (auto-restart) (Result: exit-code) since Mon 2023-05-08 11:24:58 CST; 162ms ago Process: 30137 ExecStart=/usr/local/bin/sipban.pl (code=exited, status=2) Main PID: 30137 (code=exited, status=2)

/etc/systemd/system/sipban.service:6: Failed to parse service type, ignoring: service

I made the change in this line:

Type=service

to

Type=notify

but without success

elpop commented 1 year ago

What distro use?

Whit Ubuntu and Fedora, the instructions for service config, work without problems

rickygm commented 1 year ago

Almalinux 8