Remove upstart support

Upstart has been discontinued for more than a decade, and no modern
distributions are using it anymore, so get rid of it.
This commit is contained in:
Tore Anderson
2025-02-02 09:18:20 +01:00
parent 6a582bf1e4
commit cc64d0c6f3
4 changed files with 2 additions and 26 deletions

View File

@@ -29,8 +29,3 @@
if which systemctl &> /dev/null; then
systemctl --no-block restart clatd.service
fi
# upstart-based distros
if test -x /sbin/initctl; then
/sbin/initctl restart clatd
fi

View File

@@ -1,16 +0,0 @@
#
# clatd service file for upstart
#
# Install it to: /etc/init/clatd.conf
# Start it with: initctl start clatd
#
# Written by Tore Anderson <tore@fud.no>
#
description "464XLAT CLAT daemon"
author "Tore Anderson <tore@fud.no>"
start on net-device-up
stop on runlevel [!2345]
exec /usr/sbin/clatd