15 lines
443 B
Django/Jinja
15 lines
443 B
Django/Jinja
[Unit]
|
|
Description=Mount storagebox with sshfs
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|
|
[Mount]
|
|
What={{ STORAGEBOX_WHAT }}
|
|
Where={{ STORAGEBOX_WHERE }}
|
|
Type=cifs
|
|
Options=_netdev,iocharset=utf8,username={{ STORAGEBOX_USERNAME }},password={{ STORAGEBOX_PASSWORD }},seal,x-systemd.automount{% if STORAGEBOX_EXTRA_OPTS is defined %},{{ STORAGEBOX_EXTRA_OPTS|join(',') }}{% endif %}
|
|
TimeoutSec=60
|