diff options
author | Tom Gundersen <teg@jklm.no> | 2012-07-28 01:32:35 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2012-07-28 02:35:48 +0200 |
commit | b0b1d8fb0f933b37e5878541e18034614eed47fb (patch) | |
tree | c114a209c2c5dcdd9fa716f6d79fb14874a406d1 /rc-local.service | |
parent | 22c3b22688f451fb24f9075712fce732e9057a10 (diff) |
merge initscripts-systemd
This makes sure that systemd supports some initscripts API's. With this
patch, systemd will:
* Parse and use DAEMONS and MODULES from rc.conf
* Run rc.local and rc.local.shutdown on boot and shutdown respectively
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc-local.service')
-rw-r--r-- | rc-local.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rc-local.service b/rc-local.service new file mode 100644 index 0000000..6c4c412 --- /dev/null +++ b/rc-local.service @@ -0,0 +1,10 @@ +[Unit] +Description=/etc/rc.local Compatibility +ConditionPathIsExecutable=/etc/rc.local + +[Service] +Type=oneshot +ExecStart=/etc/rc.local +TimeoutSec=0 +StandardInput=tty +RemainAfterExit=yes |