eudev/units/var-lock.service

21 lines
507 B
SYSTEMD
Raw Normal View History

# 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
Before=local-fs.target
[Service]
Type=oneshot
ValidNoProcess=yes
ExecStart=/bin/mkdir -p /var/lock/subsys
[Install]
WantedBy=local-fs.target