-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Here is the output:
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:
● syncflux.service - SyncFlux Agent
Loaded: loaded (/usr/lib/systemd/system/syncflux.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2022-01-27 16:35:35 EET; 29s ago
Docs: http://github.com/toni-moreno/syncflux
Process: 140031 ExecStart=/usr/sbin/syncflux --pidfile=${PID_FILE} --config=${CONF_FILE} --logs=${LOG_DIR} --home=${HOME_DIR} --data=${DATA_DIR} (code=exited, status=1/FAILURE)
Main PID: 140031 (code=exited, status=1/FAILURE)
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:
...
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:
[Service]
ExecStart=
ExecStart=/usr/sbin/syncflux --pidfile=${PID_FILE} --config=${CONF_FILE} --logs=${LOG_DIR}
Metadata
Metadata
Assignees
Labels
No labels