2019-02-16 16:28:01 +00:00
|
|
|
[Unit]
|
|
|
|
Description=travelynx.finalrewind.org
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2019-03-27 19:03:56 +00:00
|
|
|
RemainAfterExit=yes
|
|
|
|
PIDFile=/tmp/travelynx.pid
|
|
|
|
|
|
|
|
ExecStart=/usr/bin/hypnotoad -f index.pl
|
|
|
|
ExecStop=/usr/bin/hypnotoad -s index.pl
|
|
|
|
ExecReload=/usr/bin/hypnotoad index.pl
|
|
|
|
|
|
|
|
User=travelynx
|
2019-02-16 16:28:01 +00:00
|
|
|
WorkingDirectory=/srv/www/travelynx
|
2019-03-27 19:03:56 +00:00
|
|
|
|
2019-02-16 16:28:01 +00:00
|
|
|
Environment=LANG=en_US.UTF-8
|
2019-03-27 19:03:56 +00:00
|
|
|
|
|
|
|
Environment=TRAVELYNX_DB_NAME=travelynx
|
|
|
|
Environment=TRAVELYNX_DB_HOST=localhost
|
|
|
|
Environment=TRAVELYNX_DB_PORT=5432
|
|
|
|
Environment=TRAVELYNX_DB_USER=travelynx
|
|
|
|
Environment=TRAVELYNX_DB_PASSWORD= ! CHANGEME !
|
|
|
|
|
|
|
|
Environment=TRAVELYNX_SECRETS= ! CHANGEME !
|
|
|
|
|
|
|
|
Environment=TRAVELYNX_WORKERS=2
|
|
|
|
Environment=TRAVELYNX_LISTEN=http://127.0.0.1:8093
|
|
|
|
|
2019-02-16 16:28:01 +00:00
|
|
|
Environment=TRAVELYNX_IRIS_CACHE=/var/cache/dbf/iris
|
|
|
|
Environment=TRAVELYNX_IRISRT_CACHE=/var/cache/dbf/iris-rt
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|