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

Re: question about rc.local



Le 9 mars 2023 Vincent Lefevre a écrit :

> Really?
>
> /etc/default/rsync says:
>
> # This file is only used for init.d based systems!
> # If this system uses systemd, you can specify options etc. for rsync
> # in daemon mode by copying /lib/systemd/system/rsync.service to
> # /etc/systemd/system/rsync.service and modifying the copy; add required
> # options to the ExecStart line.

systemd launch init.d which check /etc/default/rsync for this
parameter. If you don't set it to true rsync don't start as daemon.
Even if rsyncd.conf is present.


Reply to: