Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
dBus and systemd boxing
Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
units
.gitignore
README.md
box.sh

README.md

Boxed environment

This repository provides a boxed environment with:

  • a unique dBus session for the boxed environment
  • a systemd instance for the boxed envrionment

Usage

Just run the box.sh script in front of the command you want to run and the command is executed in the boxed environment. The environment is rooted at the location where the script is. The following environment variables are modified:

  • XDG_CONFIG_HOME: to the config directory
  • XDG_DATA_HOME: to the data directory
  • SYSTEMD_UNIT_PATH: to the units directory

Plugins

Each directory in the |pluginsdirectory corresponds to a plugin. Each plugin can have aunitsdirectory. This directory is appended to the end of SYSTEMD_UNIT_PATH`.

Because of propagation of environment variables, you must restart systemd if you add/remove a plugin.

Starting up with SystemD

Just try this out:

./box.sh systemd &
./box.sh systemctl --user exit
Something went wrong with that request. Please try again.