systemd/units/var-lock.service
2010-08-19 02:24:11 +02:00

22 lines
529 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=Lock Directory
DefaultDependencies=no
Requires=var-lock.mount
After=var-lock.mount
Before=local-fs.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/mkdir -p /var/lock/subsys
[Install]
WantedBy=local-fs.target