From 77a7c36cce605a055e62369b47a29174a822f5e8 Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Sun, 4 Apr 2021 22:07:04 +0200 Subject: [PATCH] systemd: Add file innernet.target Add file innernet.target, which allows you to stop or restart all client instances. --- client/innernet.target | 2 ++ client/innernet@.service | 1 + 2 files changed, 3 insertions(+) create mode 100644 client/innernet.target diff --git a/client/innernet.target b/client/innernet.target new file mode 100644 index 0000000..6d7d7e2 --- /dev/null +++ b/client/innernet.target @@ -0,0 +1,2 @@ +[Unit] +Description=Target to allow restarting and stopping of all parts of innernet diff --git a/client/innernet@.service b/client/innernet@.service index d8f54d0..5c88c30 100644 --- a/client/innernet@.service +++ b/client/innernet@.service @@ -2,6 +2,7 @@ Description=innernet client daemon for %I After=network-online.target nss-lookup.target Wants=network-online.target nss-lookup.target +PartOf=innernet.target [Service] Type=simple