1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lufi_ynh.git synced 2024-09-03 19:36:28 +02:00
lufi_ynh/conf/systemd.service

20 lines
514 B
SYSTEMD
Raw Normal View History

2017-02-07 22:33:48 +01:00
[Unit]
Description=Image hosting and sharing service
Documentation=https://framagit.org/luc/lufi/wikis/home
2017-02-07 22:33:48 +01:00
Requires=network.target
After=network.target
[Service]
2019-03-03 18:04:44 +01:00
Type=simple
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
2019-03-03 18:04:44 +01:00
ExecStart=/usr/local/bin/carton exec hypnotoad script/lufi
ExecStop=/usr/local/bin/carton exec hypnotoad -s script/lufi
ExecReload=/usr/local/bin/carton exec hypnotoad script/lufi
2017-02-07 22:33:48 +01:00
[Install]
WantedBy=multi-user.target