From d278a2e81a45bf68f266e28c0661f2c73e57d6ed Mon Sep 17 00:00:00 2001 From: Michal Luscon Date: Thu, 6 Dec 2012 16:30:06 +0100 Subject: [PATCH] Fixed: missing EnvironmentFile directive in rsyncd.service typo in rsyncd.conf --- rsyncd.conf | 2 +- rsyncd.service | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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]