blob: 2675035b090e3c5b8ef22136252ac6f449e16729 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
[Unit]
Description = GlassFish Server v4 - Java EE 7 Web Profile
After = syslog.target network.target
[Service]
Type = forking
ExecStart = /opt/glassfish4-web/bin/asadmin start-domain domain1
ExecStop = /opt/glassfish4-web/bin/asadmin stop-domain domain1
ExecReload = /opt/glassfish4-web/bin/asadmin restart-domain domain1
[Install]
WantedBy = multi-user.target
|