htz.ex42-1048908: can haz travelynx?
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
20f3f566ac
commit
0dd2a4b985
5 changed files with 188 additions and 0 deletions
21
bundles/travelynx/files/travelynx.service
Normal file
21
bundles/travelynx/files/travelynx.service
Normal file
|
@ -0,0 +1,21 @@
|
|||
[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
|
Loading…
Add table
Add a link
Reference in a new issue