Skip to main content

remote-svc-ctrl CI

An EPICS IOC that monitors and controls systemd services, exposing their status as Process Variables (PVs). Supports both local and remote (via SSH) service management.

This can be particularly useful for managing acquisition/control services on vendor provided systems, such as the Dectris camserver service for Pilatus3 detectors, or the xspd remote control service from X-Spectrum.

Features

  • Poll systemctl status parse its output, and publish relevant information as PVs
  • Start, stop, and restart services via CA/PVA
  • Monitor over SSH for services running on remote hosts
  • Phoebus operator screen included

Usage

# Monitor a local service
remote-svc-ctrl "XF:28ID1-CT{SVC-MyApp:1}" my-app.service

# Monitor a service on a remote host via SSH
remote-svc-ctrl "XF:28ID1-CT{SVC-MyApp:1}" my-app.service --host user@server

Operator Screen

A Phoebus .bob screen is provided in op/service_ctrl.bob. Open it with the macro PREFIX set to your IOC's PV prefix.

Operator Screen

Documentation

Development

The project uses uv for dependency management and task running. To set up the development environment, run:

uv sync                             # Install dependencies
uv run pytest                       # Unit tests
uv run pre-commit run --all-files   # Linting and formatting

Requirements

  • Python >= 3.11
  • pythonSoftIOC >= 4.7.0
  • systemctl available on the target host
  • For non-root service control: appropriate polkit rules configured on the target host
  • SSH key-based auth configured for remote hosts

Release files for remote-svc-ctrl 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for remote-svc-ctrl 0.1.2
File Size Uploaded
remote_svc_ctrl-0.1.2.tar.gz 198.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for remote-svc-ctrl 0.1.2
File Interpreter ABI Platform
remote_svc_ctrl-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 210.2 kB

Release files / remote_svc_ctrl-0.1.2.tar.gz

Download URL remote_svc_ctrl-0.1.2.tar.gz
Size 198.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4ec8f9e00046c5e1bc25b903b0915c5879a20142852d6fa8ca4fefe71a9b8278
BLAKE2b-256 checksum
How to use checksums
28942a5191d3abdc784625aea9f8bb9427f9228dc49e2c1c3b87b93fc15c7a53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 15, 2026.

Transparency log

Release files / remote_svc_ctrl-0.1.2-py3-none-any.whl

Download URL remote_svc_ctrl-0.1.2-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f102fe1647f8d7af349f0366d82acfafcfae5ed5d7b099d38b3e3e772fcb9ac6
BLAKE2b-256 checksum
How to use checksums
5f0defe8c1c9bb14209bfd336cb8b95f7977238d45a51c1d419cf1f6752b492c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page