Update example systemd unit file
This commit is contained in:
parent
1d589fa0b7
commit
88d482d8b5
1 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=travelynx.finalrewind.org
|
Description=Travelynx Railway Checkin Service
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -7,15 +7,15 @@ Type=simple
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
PIDFile=/tmp/travelynx.pid
|
PIDFile=/tmp/travelynx.pid
|
||||||
|
|
||||||
ExecStart=/usr/bin/hypnotoad -f index.pl
|
ExecStart=/srv/www/travelynx/local/bin/hypnotoad -f index.pl
|
||||||
ExecStop=/usr/bin/hypnotoad -s index.pl
|
ExecStop=/srv/www/travelynx/local/bin/hypnotoad -s index.pl
|
||||||
ExecReload=/usr/bin/hypnotoad index.pl
|
ExecReload=/srv/www/travelynx/local/bin/hypnotoad index.pl
|
||||||
|
|
||||||
User=travelynx
|
User=travelynx
|
||||||
WorkingDirectory=/srv/www/travelynx
|
WorkingDirectory=/srv/www/travelynx
|
||||||
|
|
||||||
Environment=LANG=en_US.UTF-8
|
Environment=LANG=en_US.UTF-8
|
||||||
|
Environment=PERL5LIB=/srv/www/travelynx/local/lib/perl5
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue