From 21b7f0ed53a93938f0d5a474e3e82bbc8c2b1976 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 12 Jan 2016 11:46:06 +0100 Subject: [PATCH] Initial systemd support --- debian/grml-autoconfig.install | 1 + debian/rules | 1 + systemd/grml-autoconfig.service | 15 +++++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 debian/grml-autoconfig.install create mode 100644 systemd/grml-autoconfig.service diff --git a/debian/grml-autoconfig.install b/debian/grml-autoconfig.install new file mode 100644 index 0000000..1676ff5 --- /dev/null +++ b/debian/grml-autoconfig.install @@ -0,0 +1 @@ +systemd/* lib/systemd/system/ diff --git a/debian/rules b/debian/rules index 558742c..4dd5308 100755 --- a/debian/rules +++ b/debian/rules @@ -54,6 +54,7 @@ binary-arch: build install binary-indep: build install dh_testdir dh_testroot + dh_install dh_installchangelogs dh_installdocs doc/grml-autoconfig.1.html doc/grml-autoconfig.8.html \ doc/restore-config.1.html doc/save-config.1.html diff --git a/systemd/grml-autoconfig.service b/systemd/grml-autoconfig.service new file mode 100644 index 0000000..1b0617b --- /dev/null +++ b/systemd/grml-autoconfig.service @@ -0,0 +1,15 @@ +# This file is part of grml-autoconfig for usage with systemd. + +[Unit] +Description=Grml boot option support +Before=getty.target +After=rc-local.service + +[Service] +ExecStart=/etc/init.d/grml-autoconfig +Type=oneshot +StandardOutput=tty +StandardError=journal+console + +[Install] +WantedBy=multi-user.target -- 2.1.4