From e4eabbb11af0d2d75dbc03940d359ed41234a80b Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 20 Jun 2013 15:48:09 +0200 Subject: [udhcpc] Properly renew and fork to background --- remote/modules/systemd/data/etc/systemd/system/udhcpc@.service | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'remote/modules/systemd') diff --git a/remote/modules/systemd/data/etc/systemd/system/udhcpc@.service b/remote/modules/systemd/data/etc/systemd/system/udhcpc@.service index db67c6b6..611d0f98 100644 --- a/remote/modules/systemd/data/etc/systemd/system/udhcpc@.service +++ b/remote/modules/systemd/data/etc/systemd/system/udhcpc@.service @@ -2,8 +2,10 @@ Description=DHCP Client [Service] -Type=simple +Type=forking +PIDFile=/run/udhcpc.%I.pid ExecStart=/opt/openslx/bin/dhcp++ %I +ExecStopPost=/bin/rm /run/udhcpc.%I.pid [Install] WantedBy=multi-user.target -- cgit v1.2.3-55-g7522