mirror of
https://github.com/derf/travelynx
synced 2024-11-14 00:37:16 +00:00
80a6317ac5
This avoids having to specify secrets in the environment, where they can leak easily.
21 lines
378 B
Desktop File
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
|