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/systemd.service

21 lines
495 B
SYSTEMD
Raw Normal View History

2017-02-02 19:12:26 +01:00
[Unit]
2022-05-20 00:01:04 +02:00
Description=Lstu: Shortened URLs service
2017-04-21 12:54:39 +02:00
Documentation=https://framagit.org/luc/lstu
2017-02-02 19:12:26 +01:00
Requires=network.target
After=network.target
[Service]
2020-05-21 15:56:13 +02:00
Type=forking
2020-11-26 18:32:46 +01:00
User=__APP__
2022-07-30 00:06:35 +02:00
Group=__APP__
2019-02-03 01:02:32 +01:00
Restart=always
RestartSec=10
2023-05-31 20:58:29 +02:00
WorkingDirectory=__INSTALL_DIR__
PIDFile=__INSTALL_DIR__/script/hypnotoad.pid
2020-11-16 16:32:51 +01:00
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
2017-02-02 19:12:26 +01:00
[Install]
WantedBy=multi-user.target