From 5ef2b0986107429a2870f2881f10c73816e05288 Mon Sep 17 00:00:00 2001 From: Alexey Khromov Date: Tue, 2 Jul 2024 23:28:00 +0300 Subject: [PATCH] Added systemd and xinetd service files --- CHANGES | 9 +++++++++ contrib/systemd/bforce.service | 13 +++++++++++++ contrib/xinetd.d/bforce-binkp | 13 +++++++++++++ contrib/xinetd.d/bforce-ifcico | 13 +++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 contrib/systemd/bforce.service create mode 100644 contrib/xinetd.d/bforce-binkp create mode 100644 contrib/xinetd.d/bforce-ifcico diff --git a/CHANGES b/CHANGES index b3c3fc0..aba0735 100644 --- a/CHANGES +++ b/CHANGES @@ -257,3 +257,12 @@ Alexey Khromov (zx@zxalexis.ru) 0.25.2 + Adopted for outgoing IPv6 communication +0.25.3 + + Fixed IPv6 address logging in inetd connections + + Fixed outgoing proto detection and order - as Direct, BinkP, Ifcico, + Telnet, Modem first allowed to connect. You may change this order + individually by override flags. + + Daemon mode now tries to make outgoing tcp calls prior to modem + + Daemon mode - fixed working time for tcp nodes (CM) + + Fixed some x64 errors in comparisons to integers + + Added systemd and xinetd service files to contrib folder diff --git a/contrib/systemd/bforce.service b/contrib/systemd/bforce.service new file mode 100644 index 0000000..9b2463a --- /dev/null +++ b/contrib/systemd/bforce.service @@ -0,0 +1,13 @@ +[Unit] +Description=Binkleyforce Outbound server + +[Service] +Type=forking +PIDFile=/tmp/bforce.pid +User=fido +Group=fido +ExecStart=/usr/bin/bforce -d -C /opt/fidonms/etc/bforce.conf +ExecStop=/usr/bin/bforce -q + +[Install] +WantedBy=multi-user.target diff --git a/contrib/xinetd.d/bforce-binkp b/contrib/xinetd.d/bforce-binkp new file mode 100644 index 0000000..fcddb5f --- /dev/null +++ b/contrib/xinetd.d/bforce-binkp @@ -0,0 +1,13 @@ +#binkleyforce ifc (port 60179) EMSI-over-ip +service binkp +{ + disable = no + socket_type = stream +# flags = IPv4 + protocol = tcp + port = 24554 + wait = no + user = fido + server = /usr/bin/bforce + server_args = -C /opt/fidonms/etc/bforce.conf -i binkp +} diff --git a/contrib/xinetd.d/bforce-ifcico b/contrib/xinetd.d/bforce-ifcico new file mode 100644 index 0000000..2d47a70 --- /dev/null +++ b/contrib/xinetd.d/bforce-ifcico @@ -0,0 +1,13 @@ +#binkleyforce ifc (port 60179) EMSI-over-ip +service ifc +{ + disable = no + socket_type = stream +# flags = IPv4 + protocol = tcp + port = 60179 + wait = no + user = fido + server = /usr/bin/bforce + server_args = -C /opt/fidonms/etc/bforce.conf -i auto +} \ No newline at end of file