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