bundlewrap/bundles/travelynx/files/travelynx.service
Franzi 0dd2a4b985
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
htz.ex42-1048908: can haz travelynx?
2020-08-19 18:43:32 +02:00

22 lines
467 B
Desktop File

[Unit]
Description=Travelynx Railway Checkin Service
After=network.target
[Service]
Type=simple
RemainAfterExit=yes
PIDFile=/var/cache/travelynx/travelynx.pid
ExecStart=/usr/local/bin/hypnotoad -f index.pl
ExecStop=/usr/local/bin/hypnotoad -s index.pl
ExecReload=/usr/local/bin/hypnotoad index.pl
User=travelynx
WorkingDirectory=/opt/travelynx
Environment=LANG=en_US.UTF-8
Environment=PERL5LIB=/opt/travelynx/local/lib/perl5
[Install]
WantedBy=multi-user.target