travelynx/examples/travelynx.service
Daniel Friesel 80a6317ac5 Use travelynx.conf for configuration and secrets
This avoids having to specify secrets in the environment, where they can leak
easily.
2019-04-13 12:18:26 +02:00

21 lines
378 B
Desktop File

[Unit]
Description=travelynx.finalrewind.org
After=network.target
[Service]
Type=simple
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
WorkingDirectory=/srv/www/travelynx
Environment=LANG=en_US.UTF-8
[Install]
WantedBy=multi-user.target