1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-19 01:38:07 +00:00

Fixes and standard enforcement (#3564)

* Fixes and standard enforcement

* Update

* Update

* Update install/navidrome-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Update install/ntfy-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Update install/nzbget-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Update install/n8n-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Update install/openhab-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Update install/paperless-ai-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Update install/pairdrop-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Pass 2

* Update

* Update

---------

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>
This commit is contained in:
Slaviša Arežina 2025-04-01 20:22:40 +02:00 committed by GitHub
parent 2bb0ef0490
commit c6f9c59eff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
81 changed files with 126 additions and 125 deletions

View File

@ -66,7 +66,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now ${APPLICATION}.service systemctl enable -q --now ${APPLICATION}
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -91,7 +91,7 @@ ExecStart=/usr/local/bin/filebrowser -r /
[Install] [Install]
WantedBy=default.target" >$service_path WantedBy=default.target" >$service_path
$STD systemctl enable --now filebrowser.service $STD systemctl enable --now filebrowser
msg_ok "Created Service" msg_ok "Created Service"
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"

View File

@ -86,7 +86,7 @@ function update_script() {
[Install] [Install]
WantedBy=default.target" >$service_path WantedBy=default.target" >$service_path
$STD systemctl enable --now filebrowser.service $STD systemctl enable --now filebrowser
msg_ok "Created Service" msg_ok "Created Service"
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"

View File

@ -36,7 +36,7 @@ function update_script() {
cp -R config.yaml /data/config.yaml cp -R config.yaml /data/config.yaml
sed -i 's|/etc/watchyourlan/config.yaml|/data/config.yaml|' /lib/systemd/system/watchyourlan.service sed -i 's|/etc/watchyourlan/config.yaml|/data/config.yaml|' /lib/systemd/system/watchyourlan.service
rm watchyourlan_${RELEASE}_linux_amd64.deb config.yaml rm watchyourlan_${RELEASE}_linux_amd64.deb config.yaml
systemctl enable -q --now watchyourlan.service systemctl enable -q --now watchyourlan
msg_ok "Updated $APP" msg_ok "Updated $APP"
exit exit
} }

View File

@ -38,7 +38,7 @@ EnvironmentFile=-/etc/sysconfig/AdGuardHome
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now AdGuardHome.service systemctl enable -q --now AdGuardHome
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -157,8 +157,8 @@ EnvironmentFile=/opt/adventurelog/frontend/.env
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now adventurelog-backend.service systemctl enable -q --now adventurelog-backend
systemctl enable -q --now adventurelog-frontend.service systemctl enable -q --now adventurelog-frontend
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -48,7 +48,7 @@ RestartSec=5
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now AgentDVR.service systemctl enable -q --now AgentDVR
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -94,7 +94,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now archivebox.service systemctl enable -q --now archivebox
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -78,7 +78,7 @@ Restart=on-failure
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now aria2.service systemctl enable -q --now aria2
systemctl enable -q --now ariang systemctl enable -q --now ariang
msg_ok "Created Service" msg_ok "Created Service"

View File

@ -34,7 +34,7 @@ RestartSec=5
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now beszel-hub.service systemctl enable -q --now beszel-hub
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -55,7 +55,7 @@ Restart=on-failure
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now cps.service systemctl enable -q --now cps
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -53,7 +53,7 @@ KillMode=process
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now cloudflared.service systemctl enable -q --now cloudflared
msg_ok "Created Service" msg_ok "Created Service"
fi fi

View File

@ -48,7 +48,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now commafeed.service systemctl enable -q --now commafeed
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -68,7 +68,7 @@ EnvironmentFile=-/etc/sysconfig/CosmosCloud
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now cosmos.service systemctl enable -q --now cosmos
msg_info "Created Service" msg_info "Created Service"
motd_ssh motd_ssh

View File

@ -100,7 +100,7 @@ Environment=DOTNET_NOLOGO=true
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now kestrel-aspnetapi.service systemctl enable -q --now kestrel-aspnetapi
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -45,7 +45,7 @@ User=root
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now esphomeDashboard.service systemctl enable -q --now esphomeDashboard
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -28,7 +28,7 @@ msg_ok "evcc Repository setup sucessfully"
msg_info "Installing evcc" msg_info "Installing evcc"
$STD apt install -y evcc $STD apt install -y evcc
systemctl enable -q --now evcc.service systemctl enable -q --now evcc
msg_ok "Installed evcc" msg_ok "Installed evcc"
motd_ssh motd_ssh

View File

@ -57,7 +57,7 @@ temp_file=$(mktemp)
curl -fsSL https://fileflows.com/downloads/zip -o "$temp_file" curl -fsSL https://fileflows.com/downloads/zip -o "$temp_file"
unzip -q -d /opt/fileflows "$temp_file" unzip -q -d /opt/fileflows "$temp_file"
(cd /opt/fileflows/Server && dotnet FileFlows.Server.dll --systemd install --root true) (cd /opt/fileflows/Server && dotnet FileFlows.Server.dll --systemd install --root true)
systemctl enable -q --now fileflows.service systemctl enable -q --now fileflows
msg_ok "Setup ${APPLICATION}" msg_ok "Setup ${APPLICATION}"
motd_ssh motd_ssh

View File

@ -53,7 +53,7 @@ TimeoutStopSec=30
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now flaresolverr.service systemctl enable -q --now flaresolverr
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -49,7 +49,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now flowise.service systemctl enable -q --now flowise
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -89,7 +89,7 @@ ExecStart=/usr/bin/npm run start
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now fluid-calendar.service systemctl enable -q --now fluid-calendar
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -60,7 +60,7 @@ Restart=on-failure
[Install] [Install]
WantedBy=multi-user.target" >$service_path WantedBy=multi-user.target" >$service_path
systemctl enable -q --now glance.service systemctl enable -q --now glance
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -66,7 +66,7 @@ EnvironmentFile=-/opt/grist/.env
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now grist.service systemctl enable -q --now grist
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -49,8 +49,8 @@ TimeoutStopSec=30
[Install] [Install]
WantedBy=multi-user.target" >$service_path WantedBy=multi-user.target" >$service_path
systemctl enable -q --now heimdall.service systemctl enable -q --now heimdall
cd /opt/Heimdall || exit cd /opt/Heimdall
COMPOSER_ALLOW_SUPERUSER=1 composer dump-autoload &>/dev/null COMPOSER_ALLOW_SUPERUSER=1 composer dump-autoload &>/dev/null
systemctl restart heimdall.service systemctl restart heimdall.service
msg_ok "Created Service" msg_ok "Created Service"

View File

@ -42,7 +42,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now ${APPLICATION}.service systemctl enable -q --now ${APPLICATION}
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -168,7 +168,7 @@ TimeoutStopSec=5
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl -q enable --now meilisearch.service hoarder-browser.service hoarder-workers.service hoarder-web.service systemctl enable -q --now meilisearch hoarder-browser hoarder-workers hoarder-web
msg_ok "Created Services" msg_ok "Created Services"
motd_ssh motd_ssh

View File

@ -42,7 +42,7 @@ Restart=on-failure
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now homebox.service systemctl enable -q --now homebox
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -26,7 +26,7 @@ curl -fsSL "https://releases.hyperion-project.org/hyperion.pub.key" | gpg --dear
echo "deb [signed-by=/usr/share/keyrings/hyperion.pub.gpg] https://apt.releases.hyperion-project.org/ $(lsb_release -cs) main" >/etc/apt/sources.list.d/hyperion.list echo "deb [signed-by=/usr/share/keyrings/hyperion.pub.gpg] https://apt.releases.hyperion-project.org/ $(lsb_release -cs) main" >/etc/apt/sources.list.d/hyperion.list
$STD apt-get update $STD apt-get update
$STD apt-get install -y hyperion $STD apt-get install -y hyperion
$STD systemctl enable --now hyperion@root.service $STD systemctl enable --now hyperion@root
msg_ok "Installed Hyperion" msg_ok "Installed Hyperion"
motd_ssh motd_ssh

View File

@ -40,7 +40,7 @@ Restart=on-failure
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now iventoy.service systemctl enable -q --now iventoy
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -38,7 +38,7 @@ Environment="DisableRootWarning=true"
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now jackett.service systemctl enable -q --now jackett
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -69,7 +69,7 @@ ExecStart=/usr/bin/node dist/index.js
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now jellyseerr.service systemctl enable -q --now jellyseerr
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -126,7 +126,7 @@ ExecStart=/usr/bin/yarn start
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now linkwarden.service systemctl enable -q --now linkwarden
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -53,7 +53,7 @@ TimeoutStopSec=30s
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now matterbridge.service systemctl enable -q --now matterbridge
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -45,7 +45,7 @@ $STD apt-get install -y mattermost
$STD install -C -m 600 -o mattermost -g mattermost /opt/mattermost/config/config.defaults.json /opt/mattermost/config/config.json $STD install -C -m 600 -o mattermost -g mattermost /opt/mattermost/config/config.defaults.json /opt/mattermost/config/config.json
sed -i -e "/DataSource/c\ \"DataSource\": \"postgres://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME?sslmode=disable&connect_timeout=10\"," \ sed -i -e "/DataSource/c\ \"DataSource\": \"postgres://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME?sslmode=disable&connect_timeout=10\"," \
-e "/SiteURL/c\ \"SiteURL\": \"http://$IPADDRESS:8065\"," /opt/mattermost/config/config.json -e "/SiteURL/c\ \"SiteURL\": \"http://$IPADDRESS:8065\"," /opt/mattermost/config/config.json
systemctl enable -q --now mattermost.service systemctl enable -q --now mattermost
msg_ok "Installed Mattermost" msg_ok "Installed Mattermost"
motd_ssh motd_ssh

View File

@ -40,7 +40,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now mediamtx.service systemctl enable -q --now mediamtx
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -48,7 +48,7 @@ Restart=on-failure
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now medusa.service systemctl enable -q --now medusa
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -78,7 +78,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now memos.service systemctl enable -q --now memos
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh
@ -87,4 +87,4 @@ customize
msg_info "Cleaning up" msg_info "Cleaning up"
$STD apt-get -y autoremove $STD apt-get -y autoremove
$STD apt-get -y autoclean $STD apt-get -y autoclean
msg_ok "Cleaned" msg_ok "Cleaned"

View File

@ -82,7 +82,7 @@ User=root
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now metube.service systemctl enable -q --now metube
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -30,7 +30,7 @@ echo "deb [signed-by=/usr/share/keyrings/mongodb-server-${MONGODB_VERSION}.gpg]
$STD apt-get update $STD apt-get update
$STD apt-get install -y mongodb-org $STD apt-get install -y mongodb-org
sed -i 's/bindIp: 127.0.0.1/bindIp: 0.0.0.0/' /etc/mongod.conf sed -i 's/bindIp: 127.0.0.1/bindIp: 0.0.0.0/' /etc/mongod.conf
systemctl enable -q --now mongod.service systemctl enable -q --now mongod
msg_ok "Installed MongoDB $MONGODB_VERSION" msg_ok "Installed MongoDB $MONGODB_VERSION"
motd_ssh motd_ssh

View File

@ -51,7 +51,7 @@ Restart=on-failure
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now mylar3.service systemctl enable -q --now mylar3
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -16,9 +16,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
build-essential \ build-essential \
g++ \
make \
make \
gpg \ gpg \
ca-certificates ca-certificates
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
@ -61,7 +58,7 @@ WorkingDirectory=/opt/myspeed
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now myspeed.service systemctl enable -q --now myspeed
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -14,8 +14,9 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y ca-certificates $STD apt-get install -y \
$STD apt-get install -y gnupg ca-certificates \
gnupg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"

View File

@ -65,7 +65,7 @@ ProtectSystem=full
[Install] [Install]
WantedBy=multi-user.target" >$service_path WantedBy=multi-user.target" >$service_path
systemctl daemon-reload systemctl daemon-reload
$STD systemctl enable --now navidrome.service systemctl enable -q --now navidrome
msg_ok "Created Service" msg_ok "Created Service"

View File

@ -18,10 +18,6 @@ $STD apt-get install -y \
apache2 \ apache2 \
redis-server \ redis-server \
postgresql \ postgresql \
python3 \
python3-pip \
python3-venv \
python3-dev \
build-essential \ build-essential \
libxml2-dev \ libxml2-dev \
libxslt1-dev \ libxslt1-dev \
@ -31,6 +27,14 @@ $STD apt-get install -y \
zlib1g-dev zlib1g-dev
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Python"
$STD apt-get install -y \
python3 \
python3-pip \
python3-venv \
python3-dev
msg_ok "Installed Python"
msg_info "Setting up PostgreSQL" msg_info "Setting up PostgreSQL"
DB_NAME=netbox DB_NAME=netbox
DB_USER=netbox DB_USER=netbox

View File

@ -17,9 +17,6 @@ msg_info "Installing Dependencies"
$STD apt-get update $STD apt-get update
$STD apt-get -y install \ $STD apt-get -y install \
gnupg \ gnupg \
make \
gcc \
g++ \
ca-certificates \ ca-certificates \
apache2-utils \ apache2-utils \
logrotate \ logrotate \

View File

@ -34,7 +34,7 @@ ExecStart=/opt/nocodb/./nocodb
[Install] [Install]
WantedBy=multi-user.target" >$service_path WantedBy=multi-user.target" >$service_path
systemctl enable -q --now nocodb.service &>/dev/null systemctl enable -q --now nocodb
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -14,9 +14,10 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y git $STD apt-get install -y \
$STD apt-get install -y ca-certificates git \
$STD apt-get install -y gnupg ca-certificates \
gnupg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
@ -62,7 +63,7 @@ Group=root
[Install] [Install]
WantedBy=multi-user.target" >$service_path WantedBy=multi-user.target" >$service_path
$STD systemctl enable --now nodered.service systemctl enable -q --now nodered
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -16,7 +16,6 @@ update_os
msg_info "Installing Dependencies (Patience)" msg_info "Installing Dependencies (Patience)"
$STD apt-get install -y \ $STD apt-get install -y \
build-essential \ build-essential \
make \
redis-server \ redis-server \
expect \ expect \
gnupg \ gnupg \

View File

@ -14,8 +14,9 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gpg $STD apt-get install -y \
$STD apt-get install -y apt-transport-https gpg \
apt-transport-https
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing ntfy" msg_info "Installing ntfy"

View File

@ -15,8 +15,9 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gpg $STD apt-get install -y \
$STD apt-get install -y par2 gpg \
par2
cat <<EOF >/etc/apt/sources.list.d/non-free.list cat <<EOF >/etc/apt/sources.list.d/non-free.list
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware

View File

@ -14,9 +14,9 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y git $STD apt-get install -y git \
$STD apt-get install -y libyaml-dev libyaml-dev \
$STD apt-get install -y build-essential build-essential
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup Python3" msg_info "Setup Python3"
@ -24,9 +24,8 @@ $STD apt-get install -y \
python3 \ python3 \
python3-dev \ python3-dev \
python3-pip \ python3-pip \
python3-venv python3-venv \
python3-setuptools
$STD apt-get install -y python3-setuptools
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Setup Python3" msg_ok "Setup Python3"
@ -66,7 +65,7 @@ ExecStart=/opt/octoprint/bin/octoprint serve
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now octoprint.service systemctl enable -q --now octoprint
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -15,11 +15,12 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gpg $STD apt-get install -y \
$STD apt-get install -y git gpg \
$STD apt-get install -y build-essential git \
$STD apt-get install -y pkg-config build-essential \
$STD apt-get install -y cmake pkg-config \
cmake
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Golang" msg_info "Installing Golang"
@ -85,7 +86,7 @@ RestartSec=3
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now ollama.service systemctl enable -q --now ollama
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -36,7 +36,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now ombi.service systemctl enable -q --now ombi
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -45,7 +45,7 @@ User=root
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now opengist.service systemctl enable -q --now opengist
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -14,8 +14,9 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y gnupg $STD apt-get install -y \
$STD apt-get install -y apt-transport-https gnupg \
apt-transport-https
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Azul Zulu21" msg_info "Installing Azul Zulu21"
@ -34,7 +35,7 @@ echo "deb [signed-by=/usr/share/keyrings/openhab.gpg] https://openhab.jfrog.io/a
$STD apt update $STD apt update
$STD apt-get -y install openhab $STD apt-get -y install openhab
systemctl daemon-reload systemctl daemon-reload
systemctl enable -q --now openhab.service systemctl enable -q --now openhab
msg_ok "Installed openHAB" msg_ok "Installed openHAB"
motd_ssh motd_ssh

View File

@ -77,7 +77,7 @@ RestartSec=3
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now ollama.service systemctl enable -q --now ollama
sed -i 's/ENABLE_OLLAMA_API=false/ENABLE_OLLAMA_API=true/g' /opt/open-webui/.env sed -i 's/ENABLE_OLLAMA_API=false/ENABLE_OLLAMA_API=true/g' /opt/open-webui/.env
msg_ok "Installed Ollama" msg_ok "Installed Ollama"
fi fi
@ -97,7 +97,7 @@ ExecStart=/opt/open-webui/backend/start.sh
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now open-webui.service systemctl enable -q --now open-webui
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -14,9 +14,10 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y git $STD apt-get install -y \
$STD apt-get install -y ca-certificates git \
$STD apt-get install -y gnupg ca-certificates \
gnupg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
@ -55,7 +56,7 @@ ExecStart=/usr/bin/yarn start
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now overseerr.service systemctl enable -q --now overseerr
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -39,7 +39,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now owncast.service systemctl enable -q --now owncast
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -14,8 +14,9 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y git $STD apt-get install -y \
$STD apt-get install -y gpg git \
gpg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository" msg_info "Setting up Node.js Repository"
@ -49,7 +50,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now pairdrop.service systemctl enable -q --now pairdrop
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -16,9 +16,6 @@ update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y \ $STD apt-get install -y \
gpg \ gpg \
make \
gcc \
g++ \
build-essential build-essential
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
@ -82,7 +79,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now paperless-ai.service systemctl enable -q --now paperless-ai
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -47,10 +47,10 @@ mysql -u root -e "CREATE DATABASE $DB_NAME;"
mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';" mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';"
mysql -u root -e "GRANT ALL PRIVILEGES ON $DB_NAME.* TO '$DB_USER'@'localhost' WITH GRANT OPTION;" mysql -u root -e "GRANT ALL PRIVILEGES ON $DB_NAME.* TO '$DB_USER'@'localhost' WITH GRANT OPTION;"
{ {
echo "Paymenter Database Credentials" echo "Paymenter Database Credentials"
echo "Database: $DB_NAME" echo "Database: $DB_NAME"
echo "Username: $DB_USER" echo "Username: $DB_USER"
echo "Password: $DB_PASS" echo "Password: $DB_PASS"
} >>~/paymenter_db.creds } >>~/paymenter_db.creds
cp .env.example .env cp .env.example .env
$STD composer install --no-dev --optimize-autoloader --no-interaction $STD composer install --no-dev --optimize-autoloader --no-interaction
@ -125,7 +125,7 @@ RestartSec=5s
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
$STD systemctl enable --now paymenter.service $STD systemctl enable --now paymenter
msg_ok "Setup Service" msg_ok "Setup Service"
msg_info "Cleaning up" msg_info "Cleaning up"

View File

@ -73,7 +73,7 @@ TimeoutStopSec=30
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now peanut.service systemctl enable -q --now peanut
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -23,7 +23,7 @@ $STD apt-get install -y \
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Adding PHP8.3 Repository" msg_info "Adding PHP8.3 Repository"
$STD curl -fsSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb $STD curl -fsSL "https://packages.sury.org/debsuryorg-archive-keyring.deb" -o /tmp/debsuryorg-archive-keyring.deb
$STD dpkg -i /tmp/debsuryorg-archive-keyring.deb $STD dpkg -i /tmp/debsuryorg-archive-keyring.deb
$STD sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' $STD sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
$STD apt-get update $STD apt-get update

View File

@ -31,7 +31,7 @@ fi
$STD apt-get update $STD apt-get update
$STD apt-get install -y mongodb-org $STD apt-get install -y mongodb-org
sed -i 's/bindIp: 127.0.0.1/bindIp: 0.0.0.0/' /etc/mongod.conf sed -i 's/bindIp: 127.0.0.1/bindIp: 0.0.0.0/' /etc/mongod.conf
systemctl enable -q --now mongod.service systemctl enable -q --now mongod
msg_ok "MongoDB 4.4 Installed" msg_ok "MongoDB 4.4 Installed"
msg_info "Installing Petio" msg_info "Installing Petio"
@ -61,7 +61,7 @@ WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now petio.service systemctl enable -q --now petio
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -36,7 +36,7 @@ ExecStart = /opt/pocketbase/pocketbase serve --http=0.0.0.0:8080
WantedBy = multi-user.target WantedBy = multi-user.target
EOF EOF
systemctl enable -q --now pocketbase.service systemctl enable -q --now pocketbase
msg_ok "Installed Pocketbase" msg_ok "Installed Pocketbase"
motd_ssh motd_ssh

View File

@ -37,7 +37,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now readeck.service systemctl enable -q --now readeck
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -25,7 +25,7 @@ echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://pack
$STD apt-get update $STD apt-get update
$STD apt-get install -y redis $STD apt-get install -y redis
sed -i 's/^bind .*/bind 0.0.0.0/' /etc/redis/redis.conf sed -i 's/^bind .*/bind 0.0.0.0/' /etc/redis/redis.conf
systemctl enable -q --now redis-server.service systemctl enable -q --now redis-server
msg_ok "Installed Redis" msg_ok "Installed Redis"
motd_ssh motd_ssh

View File

@ -105,7 +105,7 @@ ExecStart=/bin/bash -c /opt/soularr/run.sh
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now ${APPLICATION}.service systemctl enable -q --now ${APPLICATION}
systemctl enable -q soularr.timer systemctl enable -q soularr.timer
msg_ok "Created Services" msg_ok "Created Services"

View File

@ -58,7 +58,7 @@ User=root
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now spoolman.service systemctl enable -q --now spoolman
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -40,7 +40,7 @@ Restart=on-failure
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now threadfin.service systemctl enable -q --now threadfin
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -94,7 +94,7 @@ Environment=NODE_ENV=production
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now tianji.service systemctl enable -q --now tianji
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -99,7 +99,7 @@ ExecReload=/bin/kill -USR1 \$MAINPID
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now traefik.service systemctl enable -q --now traefik
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -72,7 +72,7 @@ ExecStart=/usr/bin/yarn run start
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now umami.service systemctl enable -q --now umami
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -19,7 +19,7 @@ mkdir -p $(dirname $DOCKER_CONFIG_PATH)
echo -e '{\n "log-driver": "journald"\n}' >/etc/docker/daemon.json echo -e '{\n "log-driver": "journald"\n}' >/etc/docker/daemon.json
$STD bash <(curl -fsSL https://umbrel.sh) $STD bash <(curl -fsSL https://umbrel.sh)
systemctl daemon-reload systemctl daemon-reload
$STD systemctl enable --now umbrel-startup.service $STD systemctl enable --now umbrel-startup
msg_ok "Installed Umbrel" msg_ok "Installed Umbrel"
motd_ssh motd_ssh

View File

@ -51,7 +51,7 @@ ExecStart=/usr/bin/npm start
[Install] [Install]
WantedBy=multi-user.target" >$service_path WantedBy=multi-user.target" >$service_path
$STD systemctl enable --now uptime-kuma.service $STD systemctl enable --now uptime-kuma
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -104,7 +104,7 @@ AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install] [Install]
WantedBy=multi-user.target" >$service_path WantedBy=multi-user.target" >$service_path
systemctl daemon-reload systemctl daemon-reload
$STD systemctl enable --now vaultwarden.service $STD systemctl enable --now vaultwarden
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -45,7 +45,7 @@ msg_ok "Installed WatchYourLAN"
msg_info "Creating Service" msg_info "Creating Service"
sed -i 's|/etc/watchyourlan/config.yaml|/data/config.yaml|' /lib/systemd/system/watchyourlan.service sed -i 's|/etc/watchyourlan/config.yaml|/data/config.yaml|' /lib/systemd/system/watchyourlan.service
systemctl enable -q --now watchyourlan.service systemctl enable -q --now watchyourlan
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -36,7 +36,7 @@ User=root
[Install] [Install]
WantedBy=multi-user.target" >$service_path WantedBy=multi-user.target" >$service_path
$STD systemctl enable --now whoogle.service $STD systemctl enable --now whoogle
msg_ok "Installed Whoogle" msg_ok "Installed Whoogle"
motd_ssh motd_ssh

View File

@ -66,7 +66,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now wg-dashboard.service systemctl enable -q --now wg-dashboard
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -67,7 +67,7 @@ User=root
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now zigbee2mqtt.service systemctl enable -q --now zigbee2mqtt
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh

View File

@ -37,7 +37,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now zoraxy.service systemctl enable -q --now zoraxy
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh