mirror of
https://github.com/derf/travelynx
synced 2024-12-03 09:49:09 +00:00
21 lines
501 B
Desktop File
21 lines
501 B
Desktop File
[Unit]
|
|
Description=Travelynx Railway Checkin Service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
RemainAfterExit=yes
|
|
PIDFile=/tmp/travelynx.pid
|
|
|
|
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
|