lsyncd.service 478 B

1234567891011121314151617
  1. # /usr/lib/systemd/system/lsyncd.service
  2. [Unit]
  3. Description=Live Syncing (Mirror) Daemon
  4. Documentation=man:lsyncd(1) https://axkibe.github.io/lsyncd/
  5. After=network.target
  6. [Service]
  7. Type=simple
  8. # EnvironmentFile=-/etc/sysconfig/lsyncd
  9. # Environment=LSYNCD_OPTIONS="${LSYNCD_OPTIONS:-${HOME}/lsyncd/lsyncd.conf}"
  10. Environment=LSYNCD_OPTIONS=/home/adam/lsyncd/lsyncd.conf
  11. ExecStart=/usr/bin/lsyncd -nodaemon $LSYNCD_OPTIONS
  12. Restart=on-failure
  13. [Install]
  14. WantedBy=multi-user.target