Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Rsync on unraid - script won't run

Featured Replies

Hi

I have been using this thread to set up rsync on my unraid:

 

http://lime-technology.com/forum/index.php?topic=2165.0

 

But for some reason I can not get it to start automatically after reboot - or manually when running the script in a telnet session

 

The script I'm haveing trouble with:

 

S20-init.rsyncd

if ! grep ^rsync /etc/inetd.conf > /dev/null ; then
cat <<-EOF >> /etc/inetd.conf
rsync   stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/bin/rsync --daemon
EOF
read PID < /var/run/inetd.pid
kill -1 ${PID}
fi
cp /boot/custom/etc/rsyncd.conf /etc/rsyncd.conf

 

I get the error

./S20-init.rsyncd: line 9: syntax error: unexpected end of file

 

BUT if I copy/paste the content of the script directly to the telnet session rsync starts fine.

 

Hope someone are able to spot my error.

 

Thanks

Søren

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.