diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-12-30 13:40:47 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-12-30 13:40:47 +0100 |
commit | b6b2f9926512b4bafa91b40bfe9bf3ba52abb4bb (patch) | |
tree | 8e9aee9d5143b129940f12cd18e9414498f6a777 /examples/vrr-infoscreen.service | |
parent | e00fb0a18136ca8f4bf826952ce7a9b2328e10df (diff) |
add README and example unit file
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 |