2020-11-09 13:23:58 +09:00
# SPDX-License-Identifier: LGPL-2.1-or-later
2017-11-18 17:35:03 +01:00
#
2011-09-22 03:00:04 +02:00
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
2012-04-12 00:20:58 +02:00
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
2011-09-22 03:00:04 +02:00
# (at your option) any later version.
[Unit]
Description = FUSE Control File System
2012-06-27 01:07:04 +02:00
Documentation = https://www.kernel.org/doc/Documentation/filesystems/fuse.txt
2017-06-29 04:54:12 +02:00
Documentation = https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
2011-09-22 03:00:04 +02:00
DefaultDependencies = no
2020-11-20 11:52:36 +01:00
ConditionPathExists = /sys/fs/fuse/connections
2016-02-10 23:02:53 +01:00
ConditionCapability = CAP_SYS_ADMIN
2016-11-11 13:00:33 -05:00
ConditionVirtualization = !private-users
2011-09-22 03:00:04 +02:00
Before = sysinit.target
2020-11-19 09:17:19 +01:00
# These dependencies are used to make certain that the module is fully
# loaded. Indeed udev starts this unit when it receives an uevent for the
# module but the kernel sends it too early, ie before the init() of the module
# is fully operational and /sys/fs/fuse/connections is created, see issue#17586.
After = modprobe@fuse.service
Requires = modprobe@fuse.service
2011-09-22 03:00:04 +02:00
[Mount]
What = fusectl
Where = /sys/fs/fuse/connections
Type = fusectl
2019-03-25 19:39:00 +01:00
Options = nosuid,nodev,noexec