aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/system/fedora-configure.service
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-10-28 10:44:00 -0400
committerBill Nottingham <notting@redhat.com>2010-10-28 10:44:00 -0400
commit12cabd751919122551b6eb73850b35fbe565c679 (patch)
tree4b70a8d650b7b2b7937bd10623acff8d6ee07ff8 /systemd/system/fedora-configure.service
parent96bf02f67020374327528b6e0ec742499b516aba (diff)
downloadinitscripts-12cabd751919122551b6eb73850b35fbe565c679.tar
initscripts-12cabd751919122551b6eb73850b35fbe565c679.tar.gz
initscripts-12cabd751919122551b6eb73850b35fbe565c679.tar.bz2
initscripts-12cabd751919122551b6eb73850b35fbe565c679.tar.xz
initscripts-12cabd751919122551b6eb73850b35fbe565c679.zip
Simplify some things with ConditionPathExists.
Diffstat (limited to 'systemd/system/fedora-configure.service')
-rw-r--r--systemd/system/fedora-configure.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/systemd/system/fedora-configure.service b/systemd/system/fedora-configure.service
index 032e94ae..fcaa5348 100644
--- a/systemd/system/fedora-configure.service
+++ b/systemd/system/fedora-configure.service
@@ -4,9 +4,11 @@ DefaultDependencies=no
Conflicts=multi-user.target shutdown.target
Before=multi-user.target shutdown.target
After=local-fs.target
+ConditionPathExists=/.unconfigured
[Service]
ExecStart=/lib/systemd/fedora-configure
+ExecStopPost=rm -f /.unconfigured
Type=oneshot
TimeoutSec=0
StandardInput=tty