summarylogtreecommitdiffstats
path: root/webdis.service
blob: 3e2c9d07806663adcf27ad15800a21f074818115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=REST server for Redis data
After=network.target

[Service]
Type=forking
User=webdis
Group=webdis
WorkingDirectory=/var/lib/webdis
ExecStart=/usr/bin/webdis /etc/webdis.prod.json
ExecStop=/bin/kill -15 $MAINPID

[Install]
WantedBy=multi-user.target