Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. [Unit]
  2. Description= myservice
  3. After=mysql.service
  4.  
  5. [Service]
  6. User=root
  7. Environment=DISPLAY=:0
  8. Restart=always
  9. Type=forking
  10. ExecStart=/root/myservice/startup.sh
  11. ExecStop=/root/myservice/shutdown.sh
  12.  
  13. [Install]
  14. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement