summaryrefslogtreecommitdiff
path: root/examples/travelynx.service
blob: 0a2b2d5afa85291ac898c7248e454b5255f0b228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[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