bundlewrap/bundles/travelynx/files/travelynx-worker.service
Franziska Kunsmann 15dbc4307f
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/travelynx: use worker service instead of cronjob
2020-08-19 21:53:19 +02:00

15 lines
302 B
Desktop File

[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