Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. [Unit]
  2. Description=My Miscellaneous Service
  3. After=network.target
  4.  
  5. [Service]
  6. Type=simple
  7. # Another Type option: forking
  8. User=nanodano
  9. WorkingDirectory=/home/nanodano
  10. ExecStart=/home/nanodano/my_daemon --option=123
  11. Restart=on-failure
  12. # Other Restart options: or always, on-abort, etc
  13.  
  14. [Install]
  15. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement