Advertisement
Guest User

Untitled

a guest
Jul 15th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. [Unit]
  2. Description=Mining Watchdog
  3. After=network.target
  4.  
  5. [Service]
  6. ExecStart=/bin/bash -c "/usr/local/bin/mining_watchdog.sh | tee /home/whoami/mining_watchdog.log"
  7. StandardOutput=inherit
  8. StandardError=inherit
  9. Restart=always
  10. User=whoami
  11.  
  12. [Install]
  13. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement