diff options
Diffstat (limited to 'units/fedora')
l--------- | units/fedora/Makefile | 1 | ||||
-rw-r--r-- | units/fedora/halt-local.service | 20 | ||||
-rw-r--r-- | units/fedora/rc-local.service | 19 |
3 files changed, 40 insertions, 0 deletions
diff --git a/units/fedora/Makefile b/units/fedora/Makefile new file mode 120000 index 0000000000..50be21181f --- /dev/null +++ b/units/fedora/Makefile @@ -0,0 +1 @@ +../../src/Makefile
\ No newline at end of file diff --git a/units/fedora/halt-local.service b/units/fedora/halt-local.service new file mode 100644 index 0000000000..a0a3a292e7 --- /dev/null +++ b/units/fedora/halt-local.service @@ -0,0 +1,20 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=/sbin/halt.local Compatibility +ConditionFileIsExecutable=/sbin/halt.local +DefaultDependencies=no +After=shutdown.target +Before=final.target + +[Service] +Type=oneshot +ExecStart=/sbin/halt.local +TimeoutSec=0 +StandardOutput=tty +RemainAfterExit=yes diff --git a/units/fedora/rc-local.service b/units/fedora/rc-local.service new file mode 100644 index 0000000000..3b3bda9f6f --- /dev/null +++ b/units/fedora/rc-local.service @@ -0,0 +1,19 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +# This unit gets pulled automatically into multi-user.target by +# systemd-rc-local-generator if /etc/rc.d/rc.local is executable. +[Unit] +Description=/etc/rc.d/rc.local Compatibility +After=network.target + +[Service] +Type=forking +ExecStart=/etc/rc.d/rc.local start +TimeoutSec=0 +RemainAfterExit=yes +SysVStartPriority=99 |