Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description= myservice
- After=mysql.service
- [Service]
- User=root
- Environment=DISPLAY=:0
- Restart=always
- Type=forking
- ExecStart=/root/myservice/startup.sh
- ExecStop=/root/myservice/shutdown.sh
- [Install]
- WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement