[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about rc.local



On Thu, Mar 09, 2023 at 05:54:40PM +0100, Nicolas George wrote:
> Michel Verdier (12023-03-09):
> > systemd launch init.d
> 
> No. Check.

For the record:

unicorn:~$ systemctl cat rsync.service
# /lib/systemd/system/rsync.service
[Unit]
Description=fast remote file copy program daemon
ConditionPathExists=/etc/rsyncd.conf
After=network.target
Documentation=man:rsync(1) man:rsyncd.conf(5)

[Service]
ExecStart=/usr/bin/rsync --daemon --no-detach
RestartSec=1
...


(It does not call the init.d script.  It runs the daemon directly.)


Reply to: