15 lines
240 B
SYSTEMD
15 lines
240 B
SYSTEMD
|
[Unit]
|
||
|
Description=Mount Samba Shares
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
User=%I
|
||
|
Group=%I
|
||
|
ExecStart=/usr/bin/smbnetfs-utils mount
|
||
|
ExecStop=/usr/bin/smbnetfs-utils unmount
|
||
|
Restart=on-failure
|
||
|
RestartSec=30s
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|