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__
|
2019-02-03 01:02:32 +01:00
|
|
|
Restart=always
|
|
|
|
RestartSec=10
|
2017-04-03 18:58:16 +02:00
|
|
|
WorkingDirectory=__FINALPATH__
|
2018-06-11 00:46:45 +02:00
|
|
|
PIDFile=__FINALPATH__/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
|