From 25b5fc8866ed3b6d4924700645ef00ba3f6901d1 Mon Sep 17 00:00:00 2001 From: "push-app-to-main[bot]" <203845782+push-app-to-main[bot]@users.noreply.github.com> Date: Sat, 6 Jun 2026 16:08:46 +0200 Subject: [PATCH] Add xyops (ct) (#14967) Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com> --- ct/headers/xyops | 6 ++++ ct/xyops.sh | 73 ++++++++++++++++++++++++++++++++++++++++ install/xyops-install.sh | 71 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 150 insertions(+) create mode 100644 ct/headers/xyops create mode 100644 ct/xyops.sh create mode 100644 install/xyops-install.sh diff --git a/ct/headers/xyops b/ct/headers/xyops new file mode 100644 index 000000000..7a8be0a2c --- /dev/null +++ b/ct/headers/xyops @@ -0,0 +1,6 @@ + ____ + _ ____ __/ __ \____ _____ + | |/_/ / / / / / / __ \/ ___/ + _> /etc/systemd/system/xyops.service +[Unit] +Description=xyOps Task Scheduler and Server Monitor +After=network.target + +[Service] +Type=simple +User=root +WorkingDirectory=/opt/xyops +Environment=XYOPS_foreground=1 +ExecStart=/usr/bin/node /opt/xyops/lib/main.js +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now xyops +msg_ok "Created Service" + +motd_ssh +customize +cleanup_lxc