Last active
January 17, 2022 06:27
-
-
Save kundansviet/d31366b8057ec3abb90b8e5befa8efc8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description = Java Service | |
After network.target = MyService.service | |
[Service] | |
Type = forking | |
ExecStart = /usr/local/bin/MyService.sh start | |
ExecStop = /usr/local/bin/MyService.sh stop | |
ExecReload = /usr/local/bin/MyService.sh reload | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment