mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-20 03:11:46 +00:00
1cbc94e21d
- Add CLAUDE.md with development guidance and architecture documentation - Add HIVE_DEVELOPMENT_PLAN.md with detailed roadmap integrating all TODO items - Update README.md with development setup and engineering philosophy - Transform TODO.md into structured roadmap with phase integration - Add development automation scripts (clone-deps.sh, dev-setup.sh) - Add configuration templates and systemd service files This establishes the foundation for scalable multi-repository development and provides clear guidance for contributors and development workflows.
49 lines
1.1 KiB
Desktop File
49 lines
1.1 KiB
Desktop File
[Unit]
|
|
Description=Hive Services
|
|
Documentation=https://github.com/mulgadc/hive
|
|
After=network.target
|
|
Wants=network.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/opt/hive
|
|
Environment=PATH=/opt/hive/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
|
|
# Start NATS service
|
|
ExecStart=/opt/hive/bin/hive service nats start
|
|
ExecStartPost=/bin/sleep 3
|
|
|
|
# Start Predastore service
|
|
ExecStart=/opt/hive/bin/hive service predastore start
|
|
ExecStartPost=/bin/sleep 2
|
|
|
|
# Start Viperblock service
|
|
ExecStart=/opt/hive/bin/hive service viperblock start
|
|
|
|
# Stop services in reverse order
|
|
ExecStop=/opt/hive/bin/hive service viperblock stop
|
|
ExecStopPost=/bin/sleep 2
|
|
ExecStop=/opt/hive/bin/hive service predastore stop
|
|
ExecStopPost=/bin/sleep 2
|
|
ExecStop=/opt/hive/bin/hive service nats stop
|
|
|
|
# Restart policy
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
|
|
# Security settings
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/opt/hive /var/log /var/run
|
|
|
|
# Logging
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=hive
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |