2020-08-19 19:51:03 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Travelynx Railway Checkin Service - Worker
|
|
|
|
After=network.target
|
2021-02-12 12:28:52 +00:00
|
|
|
Requires=postgresql.service
|
2020-08-19 19:51:03 +00:00
|
|
|
|
|
|
|
[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
|