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

19 lines
480 B
SYSTEMD
Raw Normal View History

2017-02-02 19:12:26 +01:00
[Unit]
2017-04-21 12:54:39 +02:00
Description=Shortened URLs service
Documentation=https://framagit.org/luc/lstu
2017-02-02 19:12:26 +01:00
Requires=network.target
After=network.target
[Service]
Type=forking
User=www-data
RemainAfterExit=yes
2017-04-03 18:58:16 +02:00
WorkingDirectory=__FINALPATH__
PIDFile=__FINALPATH__script/hypnotoad.pid
2017-04-21 12:54:39 +02:00
ExecStart=/usr/local/bin/carton exec hypnotoad script/lstu
ExecStop=/usr/local/bin/carton exec hypnotoad -s script/lstu
ExecReload=/usr/local/bin/carton exec hypnotoad script/lstu
2017-02-02 19:12:26 +01:00
[Install]
WantedBy=multi-user.target