[Unit] Description=Mount Samba Shares After=network.target [Service] Environment=HOME=/etc/smbnetfs User=nobody ExecStart=/usr/bin/smbnetfs -f -o allow_other %f ExecStop=/bin/fusermount -u %f [Install] Alias=multi-user.target.wants/smbnetfs@mnt-smbnet.service