Systemd/units/sysinit.target.m4
Michael Biebl f10814d9e0 units: Provide separate fsck.target for Debian
On Debian sysinit is not a single script but a separate runlevel.
Split of fsck.target into separate unit file as otherwise we get an
unbreakable cycle on shutdown/reboot.
2010-09-06 03:12:44 +02:00

32 lines
916 B
Plaintext

# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# See systemd.special(7) for details
[Unit]
Description=System Initialization
Conflicts=emergency.service emergency.target
After=emergency.service emergency.target
RefuseManualStart=yes
m4_dnl
m4_ifdef(`TARGET_FEDORA',
m4_dnl Hook in Fedora's /etc/rc.d/rc.sysinit
Requires=sysinit.service
After=sysinit.service
)m4_dnl
m4_ifdef(`TARGET_ARCH',
m4_dnl Hook in Arch's /etc/rc.sysinit
Requires=sysinit.service
After=sysinit.service
)m4_dnl
m4_ifdef(`TARGET_SUSE',`',
m4_ifdef(`TARGET_DEBIAN',`',
m4_dnl On Suse and Debian fsck.target is separate, everywhere else it is just an alias for sysinit.target
Names=fsck.target
)m4_dnl
)m4_dnl