mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-14 08:54:17 -04:00
26 lines
705 B
Desktop File
26 lines
705 B
Desktop File
[Unit]
|
|
Description=fast remote file copy program daemon
|
|
After=network.target
|
|
|
|
[Service]
|
|
ExecStart=-/usr/bin/rsync --daemon
|
|
StandardInput=socket
|
|
StandardOutput=inherit
|
|
StandardError=journal
|
|
|
|
# Citing README.md:
|
|
#
|
|
# [...] Using ssh is recommended for its security features.
|
|
#
|
|
# Alternatively, rsync can run in `daemon' mode, listening on a socket.
|
|
# This is generally used for public file distribution, [...]
|
|
#
|
|
# So let's assume some extra security is more than welcome here. We do full
|
|
# system protection (which makes it read-only) and hide users' homes and
|
|
# devices. See systemd.unit(5) and search for "drop-in" to override.
|
|
|
|
ProtectSystem=full
|
|
ProtectHome=on
|
|
PrivateDevices=on
|
|
NoNewPrivileges=on
|