ambiguous redirect using curl

I have this: /dev/null <& curl –silent “$url” \ -H “Content-Type: application/json” \ -X POST \ -d “$(cat <<EOF {“state”:”failure”,”context”:”continuous-integration/jenkins”,”description”:”Jenkins”,”target_url”:”$BUILD_URL”} EOF )” I believe this works (but it might not): /dev/null < curl –silent “$url” \ -H “Content-Type: application/json” \ -X POST \ -d “$(cat <<EOF {“state”:”failure”,”context”:”continuous-integration/jenkins”,”description”:”Jenkins”,”target_url”:”$BUILD_URL”} EOF )” is there any way to redirect…

Details

Getting errors trying to configure rsyslog to create daily per-IP logfiles

This is on a Raspberry Pi 4. I can post the entire rsyslog.conf here if needed, but it’s the stock file with this added to it: $template DailyPerHost,”/var/log/syslog_devices/%FROMHOST-IP%/%FROMHOST-IP%-%$YEAR%-%$MONTH%-%$DAY%.log*.* -?DailyPerHost Below is the rsyslog.log file. What am I doing wrong? rsyslogd: error: extra characters in config line ignored: ‘”/var/log/syslog_devices/%FROMHOST-IP%/rsyslog-%$YEAR%-%$MONTH%-%$DAY%.log’ [v8.1901.0] rsyslogd: Could not find template 0…

Details