summarylogtreecommitdiffstats
path: root/stirling-pdf.service
blob: a42d9f1ede8be43ca17790a0ada53e2e3e23e340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description   = Stirling-PDF Service
Documentation = https://stirlingtools.com/docs/Overview/What%20is%20Stirling-PDF
Wants         = network-online.target
After         = network-online.target

[Service]
User             = stirling-pdf
Group            = stirling-pdf
Restart          = on-failure
WorkingDirectory = /var/lib/stirling-pdf
EnvironmentFile  = -/etc/stirling-pdf/stirling-pdf.env
ExecStart        = /usr/bin/java -jar -Xmx512m /usr/share/java/stirling-pdf.jar

[Install]
WantedBy = multi-user.target