Files
libfuse/example/service_ll.socket.in
Darrick J. Wong 63336ed0d8 example/service_ll: create a sample systemd service fuse server
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>
2026-05-04 17:28:27 +02:00

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