1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 01:27:11 +03:00
systemd/units/debian/umountnfs.service
Michael Biebl a5dc0a45fe units: add umount unit files for Debian
Add unit files to call

/etc/init.d/umountnfs.sh stop (network file systems)
/etc/init.d/umountfs stop     (local file systems)
/etc/init.d/umountroot stop   ("/" file system)

in the right order and hook them up in the umount.target so they are run
on shutdown and reboot.
2010-09-08 02:12:38 +02:00

19 lines
551 B
Desktop File

# 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.
[Unit]
Description=Umount all network file systems
DefaultDependencies=no
After=killall.service
Before=reboot.service poweroff.service halt.service umountfs.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/etc/init.d/umountnfs.sh stop
StandardOutput=tty