[Unit] Description=URL Shortener Documentation=https://git.framasoft.org/luc/lstu Requires=network.target After=network.target [Service] Type=forking User=www-data RemainAfterExit=yes WorkingDirectory=__FINALPATH__ PIDFile=__FINALPATH__script/hypnotoad.pid ExecStart=/usr/bin/carton exec hypnotoad script/lstu ExecStop=/usr/bin/carton exec hypnotoad -s script/lstu ExecReload=/usr/bin/carton exec hypnotoad script/lstu [Install] WantedBy=multi-user.target