diff options
Diffstat (limited to 'examples/vrr-infoscreen.service')
-rw-r--r-- | examples/vrr-infoscreen.service | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/vrr-infoscreen.service b/examples/vrr-infoscreen.service new file mode 100644 index 0000000..39b3171 --- /dev/null +++ b/examples/vrr-infoscreen.service @@ -0,0 +1,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 |