From 12cabd751919122551b6eb73850b35fbe565c679 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 28 Oct 2010 10:44:00 -0400 Subject: Simplify some things with ConditionPathExists. --- systemd/system/fedora-configure.service | 2 ++ 1 file changed, 2 insertions(+) (limited to 'systemd/system/fedora-configure.service') 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 -- cgit v1.2.1