1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=remote_syslog2 Documentation=https://github.com/papertrail/remote_syslog2 After=network-online.target [Service] ExecStartPre=/usr/bin/test -e /etc/log_files.yml ExecStart=/usr/bin/remote_syslog2 --no-detach --tls Restart=always User=root Group=root [Install] WantedBy=multi-user.target