SHARE
TWEET

union-tv.service

schmittyd May 1st, 2019 6 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Unit]
  2. Description=UnionFS TV Mount
  3. AssertPathIsDirectory=/union/tv
  4. #AssertPathIsDirectory=/cloud/flix/media
  5. Requires=gdrive-tv.service
  6.  
  7. [Service]
  8. User=media
  9. Group=flix
  10. Type=forking
  11. 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
  12. ExecStop=/bin/fusermount -uz /union/tv
  13. Restart=on-failure
  14. RestartSec=3
  15. StartLimitInterval=2
  16. StartLimitBurst=5
  17.  
  18. [Install]
  19. WantedBy=default.target
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top