mirror of
https://github.com/libfuse/libfuse.git
synced 2026-07-07 14:47:41 +08:00
63336ed0d8
Create a simple fuse server that can be run as a systemd service. I plan to create some more single-file fuse server examples, so most of the boilerplate code goes in a separate file. Also suppress COMPLEX_MACRO in checkpatch, FUSE_OPT_KEY macros have to stay as they are and checkpatch annotations are not correct here. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
16 lines
368 B
Plaintext
16 lines
368 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2026 Oracle. All Rights Reserved.
|
|
# Author: Darrick J. Wong <djwong@kernel.org>
|
|
[Unit]
|
|
Description=Socket for service_ll Service
|
|
|
|
[Socket]
|
|
ListenSequentialPacket=@FUSE_SERVICE_SOCKET_DIR_RAW@/service_ll
|
|
Accept=yes
|
|
SocketMode=@FUSE_SERVICE_SOCKET_PERMS@
|
|
RemoveOnStop=yes
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|