feat: HELIOS Remote v5.0.0 Final Release & Systemd Auto-Start Daemon
Some checks failed
HELIOS Remote CI/CD Pipeline / Check & Test Workspace (push) Has been cancelled
HELIOS Remote CI/CD Pipeline / Build Release Binaries (push) Has been cancelled

This commit is contained in:
2026-07-26 20:07:09 +09:00
parent be8c4329ca
commit c11afbedd1
58 changed files with 6454 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
[Unit]
Description=HELIOS Remote Control & Monitoring System Daemon
After=network.target network-online.target
Wants=network-online.target
[Service]
Type=forking
User=jkwoo
WorkingDirectory=/home/jkwoo/workspace/helios_remote
ExecStart=/home/jkwoo/workspace/helios_remote/start_system.sh
ExecStop=/home/jkwoo/workspace/helios_remote/stop_system.sh
Restart=on-failure
RestartSec=5
KillMode=process
[Install]
WantedBy=multi-user.target

29
service/install_service.sh Executable file
View File

@@ -0,0 +1,29 @@
#!/bin/bash
set -e
echo "=== Installing HELIOS Remote systemd Service ==="
SERVICE_SRC="/home/jkwoo/workspace/helios_remote/service/helios-remote.service"
SERVICE_DEST="/etc/systemd/system/helios-remote.service"
if [ "$EUID" -ne 0 ]; then
echo "This script requires root privileges to install systemd service."
echo "Running with sudo..."
sudo cp "$SERVICE_SRC" "$SERVICE_DEST"
sudo systemctl daemon-reload
sudo systemctl enable helios-remote.service
sudo systemctl restart helios-remote.service
echo "=========================================================="
echo "✅ HELIOS Remote systemd service installed and enabled!"
echo "👉 Check status with: sudo systemctl status helios-remote.service"
echo "=========================================================="
else
cp "$SERVICE_SRC" "$SERVICE_DEST"
systemctl daemon-reload
systemctl enable helios-remote.service
systemctl restart helios-remote.service
echo "=========================================================="
echo "✅ HELIOS Remote systemd service installed and enabled!"
echo "👉 Check status with: systemctl status helios-remote.service"
echo "=========================================================="
fi

21
service/uninstall_service.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
set -e
echo "=== Uninstalling HELIOS Remote systemd Service ==="
SERVICE_DEST="/etc/systemd/system/helios-remote.service"
if [ "$EUID" -ne 0 ]; then
echo "Running with sudo..."
sudo systemctl stop helios-remote.service 2>/dev/null || true
sudo systemctl disable helios-remote.service 2>/dev/null || true
sudo rm -f "$SERVICE_DEST"
sudo systemctl daemon-reload
else
systemctl stop helios-remote.service 2>/dev/null || true
systemctl disable helios-remote.service 2>/dev/null || true
rm -f "$SERVICE_DEST"
systemctl daemon-reload
fi
echo "HELIOS Remote systemd service uninstalled successfully."