bundlewrap/bundles/travelynx/files/travelynx.service
Franzi 638e37c05f
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles: add Requires=postgresql.service to some services which require postgresql
2021-02-12 13:28:52 +01:00

23 lines
495 B
Desktop File

[Unit]
Description=Travelynx Railway Checkin Service
After=network.target
Requires=postgresql.service
[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