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