travelynx/examples/travelynx.service

22 lines
378 B
SYSTEMD
Raw Normal View History

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
2019-02-16 16:28:01 +00:00
[Install]
WantedBy=multi-user.target