[Lunar-commits] <moonbase-other> tinc: add a systemd related file.
Florin Braescu
florin at lunar-linux.org
Tue Oct 22 16:00:34 CEST 2013
commit 5bcb621616186f866b5dc8f3601730ed4e0d2c5d
Author: Florin Braescu <florin at lunar-linux.org>
Date: Tue, 22 Oct 2013 07:00:10 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/5bcb621616186f866b5dc8f3601730ed4e0d2c5d
tinc: add a systemd related file.
---
security/tinc/BUILD | +7/-0
security/tinc/system.d/tincd at .service | +10/-0
2 files changed, 17 insertions(+)
--- /dev/null
+++ b/security/tinc/BUILD
@@ -0,0 +1,7 @@
+OPTS+=" --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin"
+
+default_build
+
+if module_installed systemd; then
+ install -D -m644 $SCRIPT_DIRECTORY/system.d/tincd at .service /usr/lib/systemd/system/tincd at .service
+fi
--- /dev/null
+++ b/security/tinc/system.d/tincd at .service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Tinc daemon for net %i
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/tincd -n %i
+
+[Install]
+WantedBy=multi-user.target
More information about the Lunar-commits
mailing list