psarossy

Untitled

Mar 17th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. [Unit]
  2. Description=HomeSeer
  3. After=network.target
  4.  
  5. [Service]
  6. WorkingDirectory=/home/psarossy/HomeSeer
  7. ExecStart=/usr/bin/mono /home/psarossy/HomeSeer/HSConsole.exe --log
  8. ExecStop=/usr/bin/curl 'http://127.0.0.1:80/JSON?request=runevent&group=Shutdown&name=Shutdown'
  9. Restart=on-failure
  10.  
  11. [Install]
  12. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment