Open coaxial opened 6 years ago
When the jobber version starts, it can't tail the logs because the file doesn't exist.
borgmatic_1 | [s6-init] making user provided files available at /var/run/s6/etc...exited 0. borgmatic_1 | [s6-init] ensuring user provided files have correct perms...exited 0. borgmatic_1 | [fix-attrs.d] applying ownership & permissions fixes... borgmatic_1 | [fix-attrs.d] 10-logs: applying... borgmatic_1 | [fix-attrs.d] 10-logs: exited 0. borgmatic_1 | [fix-attrs.d] 20-scripts: applying... borgmatic_1 | [fix-attrs.d] 20-scripts: exited 0. borgmatic_1 | [fix-attrs.d] done. borgmatic_1 | [cont-init.d] executing container initialization scripts... borgmatic_1 | [cont-init.d] done. borgmatic_1 | [services.d] starting services borgmatic_1 | tail: can't open '/var/log/borgmatic/current': No such file or directory borgmatic_1 | [services.d] done. borgmatic_1 | [cont-finish.d] executing container finish scripts... borgmatic_1 | [cont-finish.d] done. borgmatic_1 | [s6-finish] syncing disks. borgmatic_1 | [s6-finish] sending all processes the TERM signal. borgmatic_1 | [s6-finish] sending all processes the KILL signal and exiting. borgmatic_1 | [s6-init] making user provided files available at /var/run/s6/etc...exited 0. borgmatic_1 | [s6-init] ensuring user provided files have correct perms...exited 0. borgmatic_1 | [fix-attrs.d] applying ownership & permissions fixes... borgmatic_1 | [fix-attrs.d] 10-logs: applying... borgmatic_1 | [fix-attrs.d] 10-logs: exited 0. borgmatic_1 | [fix-attrs.d] 20-scripts: applying... borgmatic_1 | [fix-attrs.d] 20-scripts: exited 0. borgmatic_1 | [fix-attrs.d] done. borgmatic_1 | [cont-init.d] executing container initialization scripts... borgmatic_1 | [cont-init.d] done. borgmatic_1 | [services.d] starting services borgmatic_1 | tail: can't open '/var/log/borgmatic/current': No such file or directory borgmatic_1 | [services.d] done.
It will start tailing after the first backup, but a warning would be useful:
borgmatic_1 | tail: /var/log/borgmatic/current has appeared; following end of new file
Note that recent versions of borgmatic now log to syslog: https://torsion.org/borgmatic/docs/how-to/inspect-your-backups/#logging
When the jobber version starts, it can't tail the logs because the file doesn't exist.
It will start tailing after the first backup, but a warning would be useful: