diff --git a/copyparty/web/svcs.html b/copyparty/web/svcs.html index 9c27afa6..b55460b8 100644 --- a/copyparty/web/svcs.html +++ b/copyparty/web/svcs.html @@ -64,6 +64,11 @@ yum install davfs2 {% if accs %}printf '%s\n' {{ pw }} k | {% endif %}mount -t davfs -ouid=1000 http{{ s }}://{{ ep }}/{{ rvp }} mp +
make it automount on boot:
++ printf '%s\n' "http{{ s }}://{{ ep }}/{{ rvp }} {{ pw }} k" >> /etc/davfs2/secrets + printf '%s\n' "http{{ s }}://{{ ep }}/{{ rvp }} mp davfs rw,user,uid=1000,noauto 0 0" >> /etc/fstab +
or you can use rclone instead, which is much slower but doesn't require root:
rclone config create {{ aname }}-dav webdav url=http{{ s }}://{{ rip }}{{ hport }} vendor=other{% if accs %} user=k pass={{ pw }}{% endif %}