Commit 9823a5a8 authored by Luc Didry's avatar Luc Didry

Update lstu.service

parent 5696e78e
[Unit] [Unit]
Description=Shortened URLs service Description=Shortened URLs service
After=systemd-user-sessions.service Requires=network.target
After=network.target
[Service] [Service]
User=www-data Type=simple
RemainAfterExit=yes
WorkingDirectory=/var/www/lstu/ WorkingDirectory=/var/www/lstu/
ExecStart=/usr/local/bin/carton exec hypnotoad -f script/lstu PIDFile=/var/www/lstu/script/hypnotoad.pid
ExecStart=/usr/local/bin/carton exec hypnotoad script/lstu -f
ExecStop=/usr/local/bin/carton exec hypnotoad -s script/lstu
ExecReload=/usr/local/bin/carton exec hypnotoad script/lstu ExecReload=/usr/local/bin/carton exec hypnotoad script/lstu
Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment