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]
|
|
|
|
Type=forking
|
2018-09-02 10:31:11 +02:00
|
|
|
User=__APP__
|
|
|
|
Group=__APP__
|
2017-02-07 22:33:48 +01:00
|
|
|
RemainAfterExit=yes
|
|
|
|
WorkingDirectory=__FINALPATH__
|
|
|
|
PIDFile=__FINALPATH__script/hypnotoad.pid
|
2017-04-03 14:04:18 +02:00
|
|
|
ExecStart=/usr/local/bin/carton exec hypnotoad script/lufi >> /var/log/lufi/production.log 2>&1
|
|
|
|
ExecStop=/usr/local/bin/carton exec hypnotoad -s script/lufi >> /var/log/lufi/production.log 2>&1
|
|
|
|
ExecReload=/usr/local/bin/carton exec hypnotoad script/lufi >> /var/log/lufi/production.log 2>&1
|
2017-02-07 22:33:48 +01:00
|
|
|
|
|
|
|
[Install]
|
2017-04-03 10:24:50 +02:00
|
|
|
WantedBy=multi-user.target
|