From cdc617c408e10600ba26fc828b5cc68164cd9996baebfce3ada6c9cb03d21fb9 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Fri, 14 Mar 2014 21:58:03 +0000 Subject: [PATCH] fix for bnc#844183 OBS-URL: https://build.opensuse.org/package/show/network/proftpd?expand=0&rev=26 --- proftpd.changes | 8 ++++++++ proftpd.service | 1 + proftpd.spec | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/proftpd.changes b/proftpd.changes index 6c645a8..0dc9789 100644 --- a/proftpd.changes +++ b/proftpd.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Mar 14 21:35:47 UTC 2014 - chris@computersalat.de + +- fix for bnc#844183 + * proftpd fails to start due to missing /run/proftpd + was created by 'init' file before start, somehow missed to add + to systemd service file + ------------------------------------------------------------------- Thu Oct 3 20:48:44 UTC 2013 - chris@computersalat.de diff --git a/proftpd.service b/proftpd.service index a6bcc05..91a9e5e 100644 --- a/proftpd.service +++ b/proftpd.service @@ -3,6 +3,7 @@ Description=ProFTPd FTP server After=systemd-user-sessions.service network.target nss-lookup.target local-fs.target remote-fs.target [Service] +ExecStartPre=-/usr/bin/install -d /run/proftpd ExecStart=/usr/sbin/proftpd --nodaemon ExecReload=/bin/kill -HUP $MAINPID diff --git a/proftpd.spec b/proftpd.spec index b8d1a01..0888399 100644 --- a/proftpd.spec +++ b/proftpd.spec @@ -1,7 +1,7 @@ # # spec file for package proftpd # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed