summaryrefslogtreecommitdiff
path: root/examples/travelynx.service
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-12-14 13:45:41 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-12-14 13:45:41 +0100
commit88d482d8b56f3253a8541bf0861264cd74e67fbe (patch)
treeb3cce527e6a5e6471010eeaf5b50ac5574084f6b /examples/travelynx.service
parent1d589fa0b785de6116b92895ab8fcc9a2f1eaf24 (diff)
Update example systemd unit file
Diffstat (limited to 'examples/travelynx.service')
-rw-r--r--examples/travelynx.service10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/travelynx.service b/examples/travelynx.service
index 0a2b2d5..4dbedbb 100644
--- a/examples/travelynx.service
+++ b/examples/travelynx.service
@@ -1,5 +1,5 @@
[Unit]
-Description=travelynx.finalrewind.org
+Description=Travelynx Railway Checkin Service
After=network.target
[Service]
@@ -7,15 +7,15 @@ Type=simple
RemainAfterExit=yes
PIDFile=/tmp/travelynx.pid
-ExecStart=/usr/bin/hypnotoad -f index.pl
-ExecStop=/usr/bin/hypnotoad -s index.pl
-ExecReload=/usr/bin/hypnotoad index.pl
+ExecStart=/srv/www/travelynx/local/bin/hypnotoad -f index.pl
+ExecStop=/srv/www/travelynx/local/bin/hypnotoad -s index.pl
+ExecReload=/srv/www/travelynx/local/bin/hypnotoad index.pl
User=travelynx
WorkingDirectory=/srv/www/travelynx
Environment=LANG=en_US.UTF-8
-
+Environment=PERL5LIB=/srv/www/travelynx/local/lib/perl5
[Install]
WantedBy=multi-user.target