Skip to content

feat: add arexibo.service systemd user unit - #21

Open
linuxnow wants to merge 1 commit into
birkenfeld:masterfrom
xiboplayer:pr/systemd-service
Open

feat: add arexibo.service systemd user unit#21
linuxnow wants to merge 1 commit into
birkenfeld:masterfrom
xiboplayer:pr/systemd-service

Conversation

@linuxnow

@linuxnow linuxnow commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

Adds a systemd user service so arexibo can be managed with:

systemctl --user start arexibo.service
systemctl --user enable arexibo.service

Features:

  • Requires cms.json before starting
  • Restart on failure with 5s delay
  • Memory limits (1.5 GB max)
  • Journal logging

Closes #18

Comment thread arexibo.service
Restart=on-failure
RestartSec=5s

# Resource limits

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those look a bit arbitrary, so I'd comment them out for distribution and keep as examples.

Comment thread arexibo.service
MemoryHigh=1G

# Logging
StandardOutput=journal

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should override those. "journal" is the default.

Allows managing arexibo as a systemd user service:

  systemctl --user start arexibo.service
  systemctl --user enable arexibo.service

Features:
- Requires cms.json before starting (ExecStartPre check)
- Restart on failure with 5s delay
- Memory limits (1.5 GB max, 1 GB high watermark)
- Journal logging with SyslogIdentifier=arexibo
- Requires graphical-session.target

Closes #18
@linuxnow
linuxnow force-pushed the pr/systemd-service branch from a8bf5f7 to 4220f99 Compare April 15, 2026 21:50
@linuxnow

Copy link
Copy Markdown
Contributor Author

Rebased onto current master (e2269d2, includes clippy cleanups + panic fix). Branch head now at 4220f99. Still one commit, no content changes — just a base refresh. Please re-review when convenient.

@birkenfeld birkenfeld left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review comments are still relevant.

@birkenfeld
birkenfeld force-pushed the master branch 2 times, most recently from 626f81e to 21f27b6 Compare April 26, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add systemd user service unit (arexibo.service)

2 participants