We must make sure "one-context-force.service" is not run during boot
disk detection but on hotplug events.
When booting with a swap partition on the disk, the udev rules will
start the "one-context-force" service long before "one-context-local"
and "one-context".
This results in the system being in "degraded" state as reported by
"systemctl is-system-running".
* src/usr/lib/systemd/system/one-context-force.service##systemd.one:
add conditions to run only on hotplug events.
Signed-off-by: Daniel Dehennin <daniel.dehennin@ac-dijon.fr>
* F #964: Allow FILES_DS for vCenter
* F #964: Move code to one-contextd
* F #964: Use arithmetic expansion instead of let
* F #964: Decrease used vars
* BSD context
* BSD service scripts
* Added ToDo
* Add context scripts
* Freebsd packaging
* Freebsd packaging finished
* Rollback OS detection
* Fix bug with default gateway configuration
* Add services for pfsense
* Remove bsd context script
* Replace /bin/bash with /usr/bin/env bash
* Remove /bin/bash symlink creation
* Fix service naming
* Replace /bin/bash for /bin/sh on BSD service scripts
* Fix hardcoded cdrom drive
* Fix service start on boot bug on pfsense
* Fix bug when creating new users
* Fix bud with sudo
* Fix bug with crypted passwords
* Fix bug with hostname
* Fix sed bug related to hostname
* Fix bug with domains
* Fixed bug: variable should be local