Remove tinc.service, it is not necessary.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 30 Apr 2016 16:08:31 +0000 (18:08 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 30 Apr 2016 16:08:31 +0000 (18:08 +0200)
Thanks to Alexander Ried for pointing out that if you have
tinc@.service template, systemd will provide a default slice containing
all instances of that template. So "systemctl start tinc" will still do
what we want it to do.

systemd/Makefile.am
systemd/tinc.service [deleted file]

index a1bfe124a32a64e53066d444c012aef812e4b75d..043ec7463ab6b6b546e11009a21009a5ef9d36ef 100644 (file)
@@ -1,4 +1,4 @@
 if WITH_SYSTEMD
 systemddir = @systemd_path@
-dist_systemd_DATA = tinc.service tinc@.service
+dist_systemd_DATA = tinc@.service
 endif
diff --git a/systemd/tinc.service b/systemd/tinc.service
deleted file mode 100644 (file)
index d911fa7..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-# This is a mostly empty service, but allows commands like stop, start, reload
-# to propagate to all tinc@ service instances.
-
-[Unit]
-Description=Tinc VPN
-Documentation=info:tinc
-Documentation=man:tinc(8) man:tinc.conf(5)
-Documentation=http://tinc-vpn.org/docs/
-After=network.target
-Wants=network.target
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/bin/true
-ExecReload=/bin/true
-WorkingDirectory=/etc/tinc
-
-[Install]
-WantedBy=multi-user.target