Files
pyMC_Repeater/openhop-plugin-manager.service
T
Rightup 26560fd50a Add comprehensive tests for plugin management and IPC functionality
- Introduced tests for the plugin catalogue installation and update flows in `test_plugin_catalogue_install.py`.
- Added unit tests for the GitHub Releases plugin client in `test_plugin_github_releases.py`.
- Implemented IPC tests for the plugin manager Unix socket protocol in `test_plugin_ipc.py`.
- Created lifecycle and installation tests for the plugin manager in `test_plugin_manager_lifecycle.py`.
- Added tests for plugin manifest parsing in `test_plugin_manifest.py`.
- Developed tests for plugin filesystem layout and state management in `test_plugin_storage.py`.
2026-09-03 22:16:38 +01:00

35 lines
953 B
Desktop File

# Systemd service file template for openHop Plugin Manager.
# Install as /etc/systemd/system/openhop-plugin-manager.service
#
# Supervises installed plugins as child processes. Does not replace
# openhop-repeater.service. Repeater continues to work if this unit is stopped.
[Unit]
Description=openHop Plugin Manager
After=network-online.target openhop-repeater.service
Wants=network-online.target
# Soft dependency: manager can start without Repeater, and vice versa
[Service]
Type=simple
User=repeater
Group=repeater
WorkingDirectory=/var/lib/openhop_repeater
ExecStart=/opt/openhop_repeater/venv/bin/openhop-plugin-manager --config /etc/openhop_repeater/config.yaml
Restart=on-failure
RestartSec=5
TimeoutStopSec=15
MemoryHigh=256M
StandardOutput=journal
StandardError=journal
SyslogIdentifier=openhop-plugin-manager
ReadWritePaths=/var/log/openhop_repeater /var/lib/openhop_repeater /etc/openhop_repeater
[Install]
WantedBy=multi-user.target