Advertisement
Guest User

Untitled

a guest
Jan 5th, 2012
1,532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. # Automatically mount Seedbox
  2.  
  3. description "automatically mount seedbox"
  4. author "Me <myself@i.com>"
  5.  
  6. # Stanzas
  7. # Stanzas control when and how a process is started and stopped
  8. # See a list of stanzas here:
  9.  
  10. # When to start the service
  11. start on runlevel [2345]
  12.  
  13. # When to stop the service
  14. stop on runlevel [016]
  15.  
  16. # Automatically restart process if crashed
  17. respawn
  18.  
  19. # Essentially lets upstart know the process will detach itself to the background
  20. expect fork
  21.  
  22. # Start the process
  23. exec sshfs -o idmap=user {{USER}}@{{SERVER}}.whatbox.ca: ~/whatbox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement