From: Lucas Werkmeister Date: Mon, 3 Oct 2016 12:35:15 +0000 (+0200) Subject: upd: add Also= directive to gigi-proxy.service X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=5682147d9fa1cfe371f61a4861b330d8f5f2060e upd: add Also= directive to gigi-proxy.service When the service is installed/deinstalled, install/deinstall the accompanying socket as well. (But not the other way around: you can install the socket alone, so that the service will only be started on-demand.) See systemd.unit(5). Change-Id: I3fd4af0617e1191c96af82ae1c6491feb9dfc654 --- diff --git a/debian/gigi-proxy.service b/debian/gigi-proxy.service index 3708845d..88d18f75 100644 --- a/debian/gigi-proxy.service +++ b/debian/gigi-proxy.service @@ -19,3 +19,4 @@ NoNewPrivileges=yes [Install] WantedBy=multi-user.target +Also=gigi-proxy.socket