mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Create UPDATE.sh
This commit is contained in:
parent
b9e6aaaf4d
commit
4aa2bf34b2
21
version/1.1.9/UPDATE.sh
Normal file
21
version/1.1.9/UPDATE.sh
Normal file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
wget -O /etc/openpanel/ofelia/users.ini https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/ofelia/users.ini
|
||||
|
||||
for dir in /home/*; do
|
||||
file="$dir/httpd.conf"
|
||||
user=$(basename "$dir")
|
||||
|
||||
if [[ -f "$file" ]]; then
|
||||
cp /etc/openpanel/ofelia/users.ini $dir/crons.ini
|
||||
fi
|
||||
|
||||
# todo: edit compose.yml file and .env for use
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
done
|
Loading…
Reference in New Issue
Block a user