summarylogtreecommitdiffstats
path: root/payara5-micro.service
blob: f561442c9779bb46dc337384dffe2f51d469c7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description = Payara Server 5.1 Micro Edition
After = syslog.target network.target

[Service]
ExecStart = /usr/bin/java -jar /opt/payara5-micro/glassfish/lib/client/appserver-cli.jar start-domain
ExecStop = /usr/bin/java -jar /opt/payara5-micro/glassfish/lib/client/appserver-cli.jar stop-domain
ExecReload = /usr/bin/java -jar /opt/payara5-micro/glassfish/lib/client/appserver-cli.jar restart-domain
Type = forking

[Install]
WantedBy = multi-user.target