From 159453e08dcb8e04ef2514e4b875aa34e2cee25d Mon Sep 17 00:00:00 2001 From: "push-app-to-main[bot]" <203845782+push-app-to-main[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 12:04:49 +0000 Subject: [PATCH] Add oxicloud (ct) --- ct/headers/oxicloud | 6 +++ ct/oxicloud.sh | 85 +++++++++++++++++++++++++++++++++++ install/oxicloud-install.sh | 88 +++++++++++++++++++++++++++++++++++++ 3 files changed, 179 insertions(+) create mode 100644 ct/headers/oxicloud create mode 100644 ct/oxicloud.sh create mode 100644 install/oxicloud-install.sh diff --git a/ct/headers/oxicloud b/ct/headers/oxicloud new file mode 100644 index 000000000..b48c6ee29 --- /dev/null +++ b/ct/headers/oxicloud @@ -0,0 +1,6 @@ + ____ _ ________ __ + / __ \_ __(_) ____/ /___ __ ______/ / + / / / / |/_/ / / / / __ \/ / / / __ / +/ /_/ /> /etc/oxicloud/.env +chmod 600 /etc/oxicloud/.env +msg_ok "Configured OxiCloud" + +msg_info "Creating OxiCloud Service" +cat </etc/systemd/system/oxicloud.service +[Unit] +Description=OxiCloud Service +After=network.target postgresql.service +Requires=postgresql.service + +[Service] +Type=simple +User=root +WorkingDirectory=/opt/oxicloud +EnvironmentFile=/etc/oxicloud/.env +ExecStart=/usr/local/bin/oxicloud +Restart=always +RestartSec=5 +StandardOutput=journal +StandardError=journal + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now oxicloud +msg_ok "Created OxiCloud Service" + +motd_ssh +customize +cleanup_lxc