[Proftpd-user] compiling Proftp 1.3.6
Ian via Proftp-user <[email protected]>
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
I have a compiling from source question . When installing proftpd via - yum install -y proftpd followed - systemctl start proftpd the call to systemd exit nicely. When I compile from source using the following ./configure \ --disable-ident \ --enable-dso --enable-sodium \ --with-shared=mod_sql:mod_sql_postgres:mod_sql_passwd:mod_sftp:mod_sftp_sql \ --with-includes=/usr/include/openssl:/usr/include:/usr/include/sodium make make install I can run proftpd from command line + i can also start it via systemctl . However, with my compiled binaris, systemctl will start proftpd but won't exit. It just blocks waiting for Proftpd to exit . To get systemctl to exit, i have to change the type from "forking" to "simple" in proftpd.service definition What am I missing ? --------- Content of proftpd.service [Unit] Description = ProFTPD FTP Server After = network.target nss-lookup.target local-fs.target remote-fs.target [Service] Type = forking >>>>>>>>>>>>>>>>>>>>>>>>>> has to be Type = "simple" PIDFile = /run/proftpd/proftpd.pid Environment = PROFTPD_OPTIONS= EnvironmentFile = -/etc/sysconfig/proftpd ExecStart = /usr/sbin/proftpd $PROFTPD_OPTIONS ExecReload = /bin/kill -HUP $MAINPID [Install] WantedBy = multi-user.target ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html