Configure filehost

This commit is contained in:
2024-03-02 22:33:02 +01:00
parent 0106837a3c
commit b11e4d0a7a
3 changed files with 85 additions and 3 deletions

View File

@ -7,8 +7,8 @@ Wants=network-online.target
WantedBy=default.target
[Mount]
What=//u309229-sub6.your-storagebox.de/u309229-sub6
Where=/var/home/backup/storagebox
What={{ STORAGEBOX_WHAT }}
Where={{ STORAGEBOX_WHERE }}
Type=cifs
Options=_netdev,iocharset=utf8,username=u309229-sub6,password={{ cifs.password }},seal,uid=1001,gid=1001,x-systemd.automount
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