All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Slater <jslater@windriver.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: [meta-networking][PATCH 1/1] proftpd: start at boot time
Date: Tue, 19 Jul 2016 16:41:04 -0700	[thread overview]
Message-ID: <1468971664-18146-1-git-send-email-jslater@windriver.com> (raw)

Add information to proftpd.service so that it will
be started at boot time.

Signed-off-by: Joe Slater <jslater@windriver.com>
---
 .../recipes-daemons/proftpd/files/proftpd.service  |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/meta-networking/recipes-daemons/proftpd/files/proftpd.service b/meta-networking/recipes-daemons/proftpd/files/proftpd.service
index ba97f8e..3e26d7f 100644
--- a/meta-networking/recipes-daemons/proftpd/files/proftpd.service
+++ b/meta-networking/recipes-daemons/proftpd/files/proftpd.service
@@ -1,7 +1,11 @@
 [Unit]
 Description=proftpd Daemon
+After=network.target
 
 [Service]
 Type=forking
-ExecStart=-@SBINDIR@/proftpd -c @SYSCONFDIR@/proftpd.conf
-StandardError=syslog
+ExecStart=@SBINDIR@/proftpd -c @SYSCONFDIR@/proftpd.conf
+
+[Install]
+WantedBy=default.target
+
-- 
1.7.9.5



                 reply	other threads:[~2016-07-19 23:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1468971664-18146-1-git-send-email-jslater@windriver.com \
    --to=jslater@windriver.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.