blob: bef5c6f03bc1ccd5aa947371d43d9cbf04356763 [file] [log] [blame]
[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=-/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