Skip to content

Custom Systemd Services

Non-Docker services running on the host system.

Active Services

jellyfin-wake.service

Pre-wakes NAS drives when users open Jellyfin.

Property Value
Status Enabled
Script /home/monxas/scripts/jellyfin-wake-drives.py
Documentation jellyfin-wake-drives.md
systemctl status jellyfin-wake.service
journalctl -u jellyfin-wake.service -f

periphery.service

Komodo Core agent for remote server management.

Property Value
Status Enabled
Binary /usr/local/bin/periphery
Config /etc/komodo/periphery.config.toml
systemctl status periphery.service

alert-coordinator.service

Intelligent Alert System coordinator — correlaciona y enruta alertas.

Property Value
Status Enabled
systemctl status alert-coordinator.service

html2bmp.service

HTML→BMP converter server para el subsistema TRMNL (pantallas e-ink).

Property Value
Status Enabled
systemctl status html2bmp.service

trmnl-watcher.service

TRMNL auto-rotation watcher.

Property Value
Status Enabled
systemctl status trmnl-watcher.service

Disabled/Legacy Services

These services exist but are currently disabled:

docker-media-stack.service

Alternative to Dockge for starting all stacks on boot.

Property Value
Status Disabled
Purpose Start all Docker stacks at boot

Not needed since Dockge handles stack management.

putio_move_sonarr.service / putio_move_radarr.service

Legacy Put.io file movers (replaced by Plundrio).

Property Value
Status Disabled
Scripts /home/monxas/putio/sonarr_rclone.py (missing)

These were replaced by the Plundrio ecosystem.

Managing Services

# Check all custom services
systemctl list-units --type=service | grep -E "jellyfin-wake|periphery|alert-coordinator|html2bmp|trmnl-watcher|putio|docker-media"

# Enable a service
sudo systemctl enable <service>
sudo systemctl start <service>

# Disable a service
sudo systemctl stop <service>
sudo systemctl disable <service>

# View logs
journalctl -u <service> -f
journalctl -u <service> --since "1 hour ago"

Creating New Services

Example systemd unit file:

# /etc/systemd/system/my-service.service
[Unit]
Description=My Custom Service
After=network.target

[Service]
Type=simple
User=monxas
WorkingDirectory=/home/monxas/scripts
ExecStart=/usr/bin/python3 /home/monxas/scripts/my-script.py
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

Then:

sudo systemctl daemon-reload
sudo systemctl enable my-service.service
sudo systemctl start my-service.service