1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lstu_ynh.git synced 2024-09-03 19:36:12 +02:00
lstu_ynh/conf/lstu.service
2017-04-01 20:10:21 +02:00

18 lines
459 B
Desktop File

[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=/var/www/lstu
PIDFile=/var/www/lstu/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