Skip to content

os-systemd.plugin.bash¤

systemd service management configurations.

group:prenet | runtype:none | deps: - | port: -

Usage
os-systemd install|uninstall|download|disable|configgen|configapply|check|run
$ os-systemd install - install systemd configurations
$ os-systemd uninstall - uninstall systemd configurations
$ os-systemd download - download required packages to pkg dir
$ os-systemd disable - disable systemd plugin
$ os-systemd configgen - generate systemd configuration files
$ os-systemd configapply - apply systemd configuration files
$ os-systemd check - check systemd plugin status
$ os-systemd run - run systemd tasks
$ os-systemd help - show this help message
Description

This tool helps install, configure, and manage systemd service management for modern Linux system initialization and service control.

Jangbi Configs¤

/opt/jangbi/.config
RUN_OS_SYSTEMD=1 # enable systemd configurations (0=disable, 1=full, 2=journald only)
SYSTEMD_REMOVERAREPKGS=1 # remove rare packages during systemd setup

Check if running¤

bash command
$ systemctl status
● localhost
    State: running
$ systemctl is-enabled systemd-networkd
enabled

Current Configuration¤

Current configuration is stored in /etc/systemd/. it is generated by os-systemd configgen command on install. You can edit it manually and not run install or configapply commands to keep current configurations.

/etc/systemd/system/networking.service.d/override.conf

systemd¤

Name Disable Completely (RUN_OS_SYSTEMD=0) Only journald (RUN_OS_SYSTEMD=2) Full systemd (RUN_OS_SYSTEMD=1)
networkd ❌ (networking) ❌ (networking) ✅ (systemd-networkd)
resolved ❌ (none) ❌ (none)
logind ❌ (getty) ❌ (getty)
journald ❌ (separate log, no syslog) ✅ (journald+rsyslog) ✅ (journald+rsyslog)
polkitd