Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=UnionFS TV Mount
- AssertPathIsDirectory=/union/tv
- #AssertPathIsDirectory=/cloud/flix/media
- Requires=gdrive-tv.service
- [Service]
- User=media
- Group=flix
- Type=forking
- ExecStart=/usr/bin/unionfs -o cow,allow_other,direct_io,auto_cache,sync_read,relaxed_permissions,nonempty /media/tv=RW:/gdrive/tv=RO /union/tv
- ExecStop=/bin/fusermount -uz /union/tv
- Restart=on-failure
- RestartSec=3
- StartLimitInterval=2
- StartLimitBurst=5
- [Install]
- WantedBy=default.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement