2017-02-07 22:33:48 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Image hosting and sharing service
|
2017-04-03 10:24:50 +02:00
|
|
|
Documentation=https://framagit.org/luc/lufi/wikis/home
|
2017-02-07 22:33:48 +01:00
|
|
|
Requires=network.target
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2020-04-25 16:50:32 +02:00
|
|
|
Type=forking
|
2018-09-02 10:31:11 +02:00
|
|
|
User=__APP__
|
|
|
|
Group=__APP__
|
2017-02-07 22:33:48 +01:00
|
|
|
WorkingDirectory=__FINALPATH__
|
2020-04-25 21:10:43 +02:00
|
|
|
PIDFile=__FINALPATH__/script/hypnotoad.pid
|
2020-11-16 16:16:51 +01:00
|
|
|
ExecStart=/usr/bin/carton exec hypnotoad script/lufi
|
|
|
|
ExecStop=/usr/bin/carton exec hypnotoad -s script/lufi
|
|
|
|
ExecReload=/usr/bin/carton exec hypnotoad script/lufi
|
2017-02-07 22:33:48 +01:00
|
|
|
|
|
|
|
[Install]
|
2017-04-03 10:24:50 +02:00
|
|
|
WantedBy=multi-user.target
|