Optionally install systemd service files.

If --with-systemd is given when running the configure script, two
systemd service files will be installed. There is a template
tinc@.service, which can be used to control individual instances of
tinc. For example:

systemctl enable tinc@foo

Will create an instance for tinc with netname foo. There is also a
tinc.service, which can be used to start and stop all instances at once.
This commit is contained in:
Guus Sliepen 2015-09-24 21:53:49 +02:00
parent 5ad43673ac
commit f54a87b800
5 changed files with 57 additions and 2 deletions

View file

@ -2,7 +2,7 @@
AUTOMAKE_OPTIONS = gnu
SUBDIRS = src doc gui test
SUBDIRS = src doc gui test systemd
ACLOCAL_AMFLAGS = -I m4