diff --git a/rsyncd.conf b/rsyncd.conf index 19e99a6..6e058aa 100644 --- a/rsyncd.conf +++ b/rsyncd.conf @@ -2,7 +2,7 @@ # See rsyncd.conf man page for more options. -# configuration examlple: +# configuration example: # uid = nobody # gid = nobody diff --git a/rsyncd.service b/rsyncd.service index 811063c..3ffecce 100644 --- a/rsyncd.service +++ b/rsyncd.service @@ -3,6 +3,7 @@ Description=fast remote file copy program daemon ConditionPathExists=/etc/rsyncd.conf [Service] +EnvironmentFile=/etc/sysconfig/rsyncd ExecStart=/usr/bin/rsync --daemon --no-detach "$OPTIONS" [Install]