mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Update postinst
This commit is contained in:
parent
430cdd41ff
commit
2106a46d62
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,11 @@ fi
|
|||
update-rc.d vesta defaults >/dev/null
|
||||
invoke-rc.d vesta start || true
|
||||
|
||||
# Run triggers only on updates
|
||||
if [ ! -e "/usr/local/vesta/data/users/admin" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
echo "=== Restarting vesta ==="
|
||||
service vesta stop
|
||||
service vesta start
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue