Re: [Proftpd-user] compiling Proftp 1.3.6
Clark Christensen <[email protected]>
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <CY4PR19MB1222B107CFD11A99ACCDFB8AC2220@CY4PR19MB1222.namprd19.prod.outlook.com> |
Is proftpd configured as ServerType standalone in proftpd.conf? Sounds like it might be in inetd mode. -Clark > On Aug 3, 2018, at 8:08 PM, Ian via Proftp-user <[email protected]> wrote: > > 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! https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsdm.link%2Fslashdot&data=02%7C01%7C%7Cfcab35719edf45db34fd08d5f9b79c03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636689489340707441&sdata=bebH%2BW9O%2BiZinJEqtNWlwWCVSTuzl7mMS8Y7pmMsFTw%3D&reserved=0 > _______________________________________________ > ProFTPD Users List <[email protected]> > Unsubscribe problems? > https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.proftpd.org%2Flist-unsub.html&data=02%7C01%7C%7Cfcab35719edf45db34fd08d5f9b79c03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636689489340707441&sdata=L1QyxiScI3ZL7nFPdmeQTceJibO91sG7cIObhhmKGAQ%3D&reserved=0 ------------------------------------------------------------------------------ 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