From 115e5a442b72b511bad8669f22f32381338f97bc Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Thu, 12 Apr 2018 15:10:37 +0200 Subject: [PATCH] Import mxstartup-argh-cupsd.service as tonerlow-cupsd.service Import service unit used to run cupsd on tonerlow into repository. Change its name, because we are going to deprecate the mechanism to encode host names in service unit names and migrate to mxstartups instead. --- install.sh | 1 + misc_systemd_units/tonerlow-cupsd.service | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 misc_systemd_units/tonerlow-cupsd.service diff --git a/install.sh b/install.sh index f0fefa9..8282620 100755 --- a/install.sh +++ b/install.sh @@ -110,5 +110,6 @@ install_data kvm_monitor/51-raritan-kvm.rules "$DESTDIR$udev_rulesdir install_data misc_systemd_units/udev-settled.target "$DESTDIR$systemdunitdir/udev-settled.target" install_exec mxmirror/mxmirror "$DESTDIR$usr_sbindir/mxmirror" install_data misc_systemd_units/named.service "$DESTDIR$systemdunitdir/named.service" +install_data misc_systemd_units/tonerlow-cupsd.service "$DESTDIR$systemdunitdir/tonerlow-cupsd.service" exit diff --git a/misc_systemd_units/tonerlow-cupsd.service b/misc_systemd_units/tonerlow-cupsd.service new file mode 100644 index 0000000..f1dd9fa --- /dev/null +++ b/misc_systemd_units/tonerlow-cupsd.service @@ -0,0 +1,7 @@ +[Unit] +Description=Tonerlow Cups Printing Service + +[Service] +ExecStart=/package/tonerlow/cups-2.1.4/sbin/cupsd -f +Restart=always +RestartSec=10s