Update to 2025-02-23 15:00

This commit is contained in:
Daniel Berteaud
2025-02-23 15:00:09 +01:00
parent db9771645a
commit 409b5b55f2
3 changed files with 8 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ Description=Seafile virtual drive
[Service]
Type=simple
ExecStart=/usr/bin/seadrive -c /etc/seadrive/{{ item.id }}.conf -d {{ item.data_dir | default('/var/cache/seadrive/' + item.id) }} -o {{ item.fuse_opts | default(['allow_other']) | join(',') }} -f -l - {{ item.drive_dir }}
ExecStopPost=!/bin/fusermount -uz {{ item.drive_dir }}
ExecStopPost=-!/bin/fusermount -uz {{ item.drive_dir }}
RestartSec=5
User={{ item.user | default('root') }}
MemoryLimit=1024M