summaryrefslogtreecommitdiff
path: root/examples/vrr-infoscreen.service
blob: 39b3171757936b7a8fee69c20198c6b4d7a746a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=vrrf.finalrewind.org
After=network.target

[Service]
Type=simple
RemainAfterExit=yes
PIDFile=/tmp/vrr-fakedisplay.pid
ExecStart=/usr/bin/hypnotoad -f index.pl
ExecStop=/usr/bin/hypnotoad -s index.pl
ExecReload=/usr/bin/hypnotoad index.pl
User=vrr-fakedisplay
WorkingDirectory=/srv/www/vrr-fakedisplay
Environment=LANG=en_US.UTF-8
Environment=VRRFAKEDISPLAY_LISTEN=http://127.0.0.1:8091
Environment=VRRFAKEDISPLAY_WORKERS=1
Environment=VRRFAKEDISPLAY_STATS=/tmp/vrrf-api-stats
Environment=VRRFAKEDISPLAY_CACHE=/var/cache/vrrf/main

[Install]
WantedBy=multi-user.target