xwing overlay - available with layman -a xwing (via rsync)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portage/sys-fs/ksmbd-tools/files/ksmbd.service

17 lines
407 B

[Unit]
Description=ksmbd userspace daemon
Wants=network-online.target
After=network.target network-online.target
[Service]
Type=oneshot
User=root
Group=root
RemainAfterExit=yes
ExecStartPre=-/usr/sbin/modprobe ksmbd
ExecStart=/usr/sbin/ksmbd.mountd -s
ExecReload=/bin/sh -c '/usr/sbin/ksmbd.control -s && /usr/sbin/ksmbd.mountd -s'
ExecStop=/usr/sbin/ksmbd.control -s
[Install]
WantedBy=multi-user.target