summaryrefslogtreecommitdiff
path: root/units/debian/umountfs.service
blob: 804db88538f715fcf73b877deb9a9001da02f508 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#  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=Turn off swap and umount all local file systems
DefaultDependencies=no
After=killall.service
Before=reboot.service poweroff.service halt.service umountroot.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/etc/init.d/umountfs stop
StandardOutput=tty