bundles/travelynx: use worker service instead of cronjob
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
1392ce3c58
commit
15dbc4307f
3 changed files with 26 additions and 3 deletions
15
bundles/travelynx/files/travelynx-worker.service
Normal file
15
bundles/travelynx/files/travelynx-worker.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Travelynx Railway Checkin Service - Worker
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/perl index.pl worker
|
||||
|
||||
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