summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2015-06-01 22:07:05 -0400
committerJoey Hess2015-06-01 22:07:05 -0400
commit6241a16772649d3b918085ec4f113665fcf53459 (patch)
tree2df773843829ae367c2326bde76d6986bba527bf
parentde4fa910ee58391fb35855a2fec574d4d6e36a74 (diff)
propellor spin
-rw-r--r--src/Propellor/Property/Systemd.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/Property/Systemd.hs b/src/Propellor/Property/Systemd.hs
index 0015276d..055c02ed 100644
--- a/src/Propellor/Property/Systemd.hs
+++ b/src/Propellor/Property/Systemd.hs
@@ -196,6 +196,7 @@ nspawnService (Container name _ _) cfg = setup <!> teardown
, "--quiet"
, "--keep-unit"
, "--boot"
+ , "--directory=" ++ containerDir name
, "--machine=%i"
] ++ nspawnServiceParams cfg
| otherwise = l