From: Michael Prokop Date: Tue, 12 Jan 2016 10:46:06 +0000 (+0100) Subject: Initial systemd support X-Git-Tag: v0.15.0~10 X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=21b7f0ed53a93938f0d5a474e3e82bbc8c2b1976 Initial systemd support --- 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