Differences

This shows you the differences between two versions of the page.

Link to this comparison view

topics:unionfs-fuse-systemd [2017/04/09 12:32] (current)
orzfly created
Line 1: Line 1:
 +====== unionfs-fuse with Systemd ======
  
 +<code ini>
 +[Unit]
 +Requires=network-online.target
 +After=network-online.target
 +
 +[Service]
 +SyslogIdentifier=my-unionfs-fuse.service
 +Type=forking
 +ExecStartPre=/bin/mkdir -p /mnt/unionfs
 +ExecStart=/usr/bin/unionfs-fuse -o cow,allow_other,use_ino,uid=1000,gid=1000,max_files=32768 /mnt/local=RW:/mnt/remote=RO /mnt/unionfs
 +ExecStop=/bin/fusermount -u /mnt/unionfs
 +Restart=on-abort
 +
 +[Install]
 +WantedBy=multi-user.target
 +</code>
 +
 +===== See Alsos =====
 +  * https://forum.rclone.org/t/rclone-mount-on-startup-with-systemd/360/13
 +
 +{{tag>systemd fuse unionfs-fuse}}