summaryrefslogtreecommitdiff
path: root/community/smbnetfs/smbnetfs.service
blob: cf3cd0f58c11d402c68fbdca818f4e1f5e4e19b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Mount Samba Shares
After=network.target

[Service]
Environment=HOME=/etc/smbnetfs SMBNETFS_MOUNT_POINT=/mnt/smbnet
EnvironmentFile=/etc/conf.d/smbnetfs
User=nobody
ExecStart=/usr/bin/smbnetfs -f -o allow_other $SMBNETFS_MOUNT_POINT
ExecStop=/bin/fusermount -u $SMBNETFS_MOUNT_POINT

[Install]
WantedBy=multi-user.target