summarylogtreecommitdiffstats
path: root/geoserver.service
blob: 5666d4a0a298ad6bf4943e460f2fbf3dedd1ade1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=GeoServer

[Service]
Type=simple

User=geoserver
Group=geoserver

Environment="GEOSERVER_HOME=/opt/geoserver/{pkgver}/"
ExecStart=/opt/geoserver/{pkgver}/bin/startup.sh
ExecStop=/opt/geoserver/{pkgver}/bin/shutdown.sh
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target