From a41392cd588a9bd863267638c60d944e157acf02 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 8 Jul 2016 02:42:49 +0200 Subject: anytun-control vs anytun-controld --- usr/lib/systemd/system/anytun-control@.service | 21 --------------------- usr/lib/systemd/system/anytun-controld@.service | 21 +++++++++++++++++++++ usr/lib/systemd/system/anytun@.service | 1 - 3 files changed, 21 insertions(+), 22 deletions(-) delete mode 100644 usr/lib/systemd/system/anytun-control@.service create mode 100644 usr/lib/systemd/system/anytun-controld@.service (limited to 'usr/lib') diff --git a/usr/lib/systemd/system/anytun-control@.service b/usr/lib/systemd/system/anytun-control@.service deleted file mode 100644 index 2fd0b75..0000000 --- a/usr/lib/systemd/system/anytun-control@.service +++ /dev/null @@ -1,21 +0,0 @@ -[Unit] -Description=secure anycast tunneling config daemon for %i -PartOf=anytun.service -ReloadPropagatedFrom=anytun.service -Requires=anytun@%i.service -After=anytun@%i.service -Documentation=man:anytun-controld(8) - -[Service] -Type=simple -PIDFile=/run/anytun-controld/%i.pid -Environment="NAME=%i" "DAEMONOPTS=-D -L stdout:3 --username anytun" -ExecStart=/usr/local/lib/anytun-launcher configd -Restart=on-failure -PrivateTmp=yes -PrivateDevices=yes -ProtectSystem=full -ProtectHome=yes - -[Install] -WantedBy=multi-user.target diff --git a/usr/lib/systemd/system/anytun-controld@.service b/usr/lib/systemd/system/anytun-controld@.service new file mode 100644 index 0000000..675dbcf --- /dev/null +++ b/usr/lib/systemd/system/anytun-controld@.service @@ -0,0 +1,21 @@ +[Unit] +Description=secure anycast tunneling config daemon for %i +PartOf=anytun.service +Requires=anytun@%i.service +After=anytun@%i.service +Documentation=man:anytun-controld(8) + +[Service] +Type=simple +PIDFile=/run/anytun-controld/%i.pid +Environment="NAME=%i" "DAEMONOPTS=-D -L stdout:3 --username anytun" +ExecStart=/usr/local/lib/anytun-launcher configd +Restart=on-failure +PrivateTmp=yes +PrivateDevices=yes +ProtectSystem=full +ProtectHome=yes + +[Install] +WantedBy=multi-user.target +Also=anytun@%i.service diff --git a/usr/lib/systemd/system/anytun@.service b/usr/lib/systemd/system/anytun@.service index a837889..17a5b0c 100644 --- a/usr/lib/systemd/system/anytun@.service +++ b/usr/lib/systemd/system/anytun@.service @@ -1,7 +1,6 @@ [Unit] Description=secure anycast tunneling daemon for %i PartOf=anytun.service -ReloadPropagatedFrom=anytun.service Wants=anytun-controld@%i.service Documentation=man:anytun(8) -- cgit v1.2.3