Add mealie
This commit is contained in:
parent
0394ae6c11
commit
d020bef34c
33 changed files with 332 additions and 19 deletions
|
@ -6,11 +6,11 @@ id ${APP} &> /dev/null || useradd ${APP} -r -s /bin/false -d /var/lib/${APP}
|
|||
chown ${APP}:${APP} /var/lib/${APP}/
|
||||
chown ${APP}:${APP} /var/lib/${APP}/*
|
||||
|
||||
if [[ $(systemctl list-unit-files | grep picapport.services) -eq 0 ]]
|
||||
then
|
||||
systemctl daemon-reload
|
||||
if [ "$(systemctl is-active ${APP}.service)" != "inactive" ]
|
||||
then
|
||||
if [[ $(systemctl list-unit-files | grep ${APP}.services) -eq 0 ]]
|
||||
then
|
||||
systemctl daemon-reload
|
||||
if [ "$(systemctl is-active ${APP}.service)" != "inactive" ]
|
||||
then
|
||||
systemctl restart ${APP}
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue