blob: bd368cb02bb4e5186224d4aab0909b0d764967d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
[Unit]
Description = GlassFish Server v5
After = syslog.target network.target
[Service]
ExecStart = /usr/bin/java -jar /opt/glassfish5/glassfish/lib/client/appserver-cli.jar start-domain
ExecStop = /usr/bin/java -jar /opt/glassfish5/glassfish/lib/client/appserver-cli.jar stop-domain
ExecReload = /usr/bin/java -jar /opt/glassfish5/glassfish/lib/client/appserver-cli.jar restart-domain
Type = forking
[Install]
WantedBy = multi-user.target
|