summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-11-27 20:53:24 +0000
committerPacho Ramos <pacho@gentoo.org>2013-11-27 20:53:24 +0000
commit962323042caa6d5284fc1863de17ff09816f8b81 (patch)
tree36ea84e833d35445e888de72df3ade4d7f92fa13 /net-fs/samba
parentdconf is always enabled in latest ibus versions (#492720 by Daniel Kenzelmann) (diff)
downloadgentoo-2-962323042caa6d5284fc1863de17ff09816f8b81.tar.gz
gentoo-2-962323042caa6d5284fc1863de17ff09816f8b81.tar.bz2
gentoo-2-962323042caa6d5284fc1863de17ff09816f8b81.zip
Add a samba.service unit file (#490394 by Daniel Klaffenbach)
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'net-fs/samba')
-rw-r--r--net-fs/samba/ChangeLog6
-rw-r--r--net-fs/samba/files/samba.service10
-rw-r--r--net-fs/samba/samba-4.1.2.ebuild3
3 files changed, 17 insertions, 2 deletions
diff --git a/net-fs/samba/ChangeLog b/net-fs/samba/ChangeLog
index 1e6270837cda..4e8516d96d34 100644
--- a/net-fs/samba/ChangeLog
+++ b/net-fs/samba/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-fs/samba
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.632 2013/11/25 13:58:56 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.633 2013/11/27 20:53:24 pacho Exp $
+
+ 27 Nov 2013; Pacho Ramos <pacho@gentoo.org> +files/samba.service,
+ samba-4.1.2.ebuild:
+ Add a samba.service unit file (#490394 by Daniel Klaffenbach)
*samba-4.1.2 (25 Nov 2013)
*samba-4.0.12 (25 Nov 2013)
diff --git a/net-fs/samba/files/samba.service b/net-fs/samba/files/samba.service
new file mode 100644
index 000000000000..8214ff863182
--- /dev/null
+++ b/net-fs/samba/files/samba.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Samba AD server
+After=network.target winbindd.service
+Conflicts=nmbd.service smbd.service
+
+[Service]
+ExecStart=/usr/sbin/samba --interactive
+
+[Install]
+WantedBy=multi-user.target
diff --git a/net-fs/samba/samba-4.1.2.ebuild b/net-fs/samba/samba-4.1.2.ebuild
index c4d8622f9702..a81f4a477440 100644
--- a/net-fs/samba/samba-4.1.2.ebuild
+++ b/net-fs/samba/samba-4.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-4.1.2.ebuild,v 1.1 2013/11/25 13:58:56 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-4.1.2.ebuild,v 1.2 2013/11/27 20:53:24 pacho Exp $
EAPI=5
PYTHON_COMPAT=( python2_{6,7} )
@@ -149,6 +149,7 @@ src_install() {
systemd_dounit "${FILESDIR}"/smbd.{service,socket}
systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
systemd_dounit "${FILESDIR}"/winbindd.service
+ systemd_dounit "${FILESDIR}"/samba.service
}
src_test() {