summarylogtreecommitdiffstats
path: root/hydrolog.service
blob: 265f2abc001c7d13bfef78a1b09802e80326c14e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=A simple Java blogging program 
After=network.target network-online.target

[Service]
User=nobody
Group=nobody
EnvironmentFile=/etc/hydrolog/hydrolog.conf
ExecStart=/usr/bin/java -Djava.library.path=/usr/share/java/hydrolog/ -jar /usr/share/java/hydrolog/hydrolog.jar
KillMode=mixed
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target