summarylogtreecommitdiffstats
path: root/payara.service
blob: 77040f76aa03932e083e6d9b23b588ecdb907312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Payara Application Server
After=syslog.target network.target

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

[Install]
WantedBy=multi-user.target