Re: [Proftpd-user] Init script for RHEL8
Lists <[email protected]> Thu, 14 Mar 2024 12:58:47 -0400
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
It’s my understanding init script is required for clustered rh8 Geoffrey Myers > On Jan 26, 2024, at 7:25 PM, Robillard, Bob <[email protected]> wrote: > > >> >> I'm wondering, why you want to work with init scripts on Redhat8 instead of doing a proper systemd integration > > As an aside, that's how we did it...there's a proftpd.service file in the "contrib" source tree to start from: > > > [Unit] > Description = ProFTPD FTP Server > Wants=network-online.target > After=network-online.target nss-lookup.target local-fs.target remote-fs.target > > [Service] > Type = simple > Environment = PROFTPD_OPTIONS= > EnvironmentFile = -/etc/sysconfig/proftpd > ExecStartPre = /usr/sbin/proftpd --configtest > ExecStart = /usr/sbin/proftpd --nodaemon $PROFTPD_OPTIONS > ExecReload = /bin/kill -HUP $MAINPID > PIDFile = /run/proftpd/proftpd.pid > > [Install] > WantedBy = multi-user.target > > > > -----Original Message----- > From: Preuße, Hilmar via Proftp-user <[email protected]> > Sent: Thursday, January 25, 2024 5:07 PM > To: [email protected] > Cc: Preuße, Hilmar <[email protected]> > Subject: Re: [Proftpd-user] Init script for RHEL8 > > This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. > > On 22.01.2024 20:36, Lists wrote: > > Hi, > >> We are migrating our proftpd from RHEL7 to RHEL8. We copied our >> /etc/init.d script but it does not work. Curious if someone has >> conquered this issue. Proftpd does start when calling >> /usr/sbin/proftpd directly. >> > I'm wondering, why you want to work with init scripts on Redhat8 instead of doing a proper systemd integration. IIRC there are some templates in the proftp source package, which you can use. Further I'd expect that proftp is packaged for Redhat, but I did not check. > > Hilmar > > _______________________________________________ > ProFTPD Users List <[email protected]> > Unsubscribe problems? > http://www.proftpd.org/list-unsub.html _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html