mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-24 00:20:24 +00:00
fix
This commit is contained in:
parent
4dbfa03077
commit
1cbd60e546
4 changed files with 13 additions and 6 deletions
|
@ -141,10 +141,9 @@ install_tools(){
|
|||
apt_status=$?
|
||||
|
||||
if [ $dnf_status -eq 0 ]; then
|
||||
|
||||
dnf install $tools_yum -y
|
||||
for package in $tools_yum; do sudo dnf install -y $package > /dev/null; done
|
||||
elif [ $yum_status -eq 0 ]; then
|
||||
yum install epel $tools_yum -y
|
||||
for package in $tools_yum; do sudo yum install -y $package > /dev/null; done
|
||||
elif [ $apt_status -eq 0 ]; then
|
||||
while fuser /var/lib/dpkg/lock >/dev/null 2>&1 ; do
|
||||
echo "Waiting for other software managers to finish..."
|
||||
|
|
|
@ -24,7 +24,9 @@ export PATH
|
|||
#
|
||||
# $ sudo sh install_docker.sh
|
||||
|
||||
docker_packages="docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin"
|
||||
|
||||
# it must export, otherwise Rocky Linux cannot used at yum command
|
||||
export docker_packages="docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin"
|
||||
echo_prefix_docker=$'\n[Docker] - '
|
||||
|
||||
docker_exist() {
|
||||
|
|
|
@ -13,4 +13,10 @@ sudo cp -f "$install_path/systemd/websoft9.service" /lib/systemd/system/
|
|||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable websoft9.service
|
||||
sudo systemctl start websoft9
|
||||
```
|
||||
```
|
||||
|
||||
## Develop it
|
||||
|
||||
* [systemd.exec — Execution environment configuration](https://www.freedesktop.org/software/systemd/man/systemd.exec.html)
|
||||
* [systemd.unit — Unit configuration](https://www.freedesktop.org/software/systemd/man/systemd.unit.html)
|
||||
* [systemd.service — Service unit configuration](https://www.freedesktop.org/software/systemd/man/systemd.service.html)
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "0.8.26-rc60",
|
||||
"version": "0.8.26-rc61",
|
||||
"plugins": {
|
||||
"portainer": "0.0.7",
|
||||
"nginx": "0.0.5",
|
||||
|
|
Loading…
Reference in a new issue