You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Started SyncFlux Agent.
syncflux.service: Main process exited, code=exited, status=1/FAILURE
syncflux.service: Failed with result 'exit-code'.
syncflux.service: Service RestartSec=100ms expired, scheduling restart.
syncflux.service: Scheduled restart job, restart counter is at 5.
Stopped SyncFlux Agent.
syncflux.service: Start request repeated too quickly.
syncflux.service: Failed with result 'exit-code'.
Failed to start SyncFlux Agent.
Checking systemctl status syncflux gives this output:
Taking all the variables from here and copy-pasting them into the terminal and then running command /usr/sbin/syncflux --pidfile=${PID_FILE} --config=${CONF_FILE} --logs=${LOG_DIR} --home=${HOME_DIR} --data=${DATA_DIR} gives this error:
flag provided but not defined: -home
Usage of /usr/sbin/syncflux:
...
The text was updated successfully, but these errors were encountered:
erkexzcx
changed the title
RPM SystemD script because Golang project does not recognize all given flags (arguments)
RPM SystemD script is broken because Golang project does not recognize all given flags (arguments)
Jan 27, 2022
Here is the output:
Checking
systemctl status syncflux
gives this output:Taking all the variables from here and copy-pasting them into the terminal and then running command
/usr/sbin/syncflux --pidfile=${PID_FILE} --config=${CONF_FILE} --logs=${LOG_DIR} --home=${HOME_DIR} --data=${DATA_DIR}
gives this error:Same goes with
-data
flag.This should be related, I can see commented out lines: https://github.com/toni-moreno/syncflux/blob/master/pkg/main.go#L30-L35
workaround: run
systemctl edit syncflux.service
and set contents as per below:The text was updated successfully, but these errors were encountered: