Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
gh-82: Replace dependency on dev-disk-by\x2dlabel-CONTEXT.device
Browse files Browse the repository at this point in the history
Closes #82
  • Loading branch information
vholer committed Jan 2, 2018
1 parent cce2d05 commit 0312b8a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Expand Up @@ -2,8 +2,8 @@
Description=OpenNebula pre-networking contextualization script
DefaultDependencies=no
Before=network-pre.target
Wants=network-pre.target local-fs.target dev-disk-by\x2dlabel-CONTEXT.device
After=local-fs.target dev-disk-by\x2dlabel-CONTEXT.device
Wants=network-pre.target local-fs.target systemd-udev-settle.service syslog.target
After=local-fs.target systemd-udev-settle.service syslog.target
ConditionPathExists=!/var/run/one-context/context.sh.local

[Service]
Expand Down
@@ -1,8 +1,8 @@
[Unit]
Description=OpenNebula pre-networking contextualization script
Before=network-pre.target
Wants=network-pre.target dev-disk-by\x2dlabel-CONTEXT.device
After=dev-disk-by\x2dlabel-CONTEXT.device
Wants=network-pre.target local-fs.target systemd-udev-settle.service syslog.target
After=local-fs.target systemd-udev-settle.service syslog.target
ConditionPathExists=!/var/run/one-context/context.sh.local

[Service]
Expand Down
Expand Up @@ -2,6 +2,7 @@
Description=OpenNebula delayed reconfiguration script
After=one-context.service
Requisite=one-context.service
ConditionPathExists=/var/run/one-context/context.sh.network

[Service]
Type=forking
Expand Down
Expand Up @@ -3,6 +3,7 @@ Description=OpenNebula reconfiguration script
After=one-context.service
Requisite=one-context.service
Conflicts=one-context-reconfigure-delayed.service
ConditionPathExists=/var/run/one-context/context.sh.network

[Service]
Type=oneshot
Expand Down

0 comments on commit 0312b8a

Please sign in to comment.