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
Éric Gaspar 0090f9719f v2
2023-05-31 20:58:29 +02:00

20 lines
495 B
Desktop File

[Unit]
Description=Lstu: Shortened URLs service
Documentation=https://framagit.org/luc/lstu
Requires=network.target
After=network.target
[Service]
Type=forking
User=__APP__
Group=__APP__
Restart=always
RestartSec=10
WorkingDirectory=__INSTALL_DIR__
PIDFile=__INSTALL_DIR__/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