-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deb:rpm: stop editing settings for migration (#546)
This fix stops editing `/etc/default/fluentd` or `/etc/sysconfig/fluentd` for migration. We shouldn't touch the settings for migration. For migration of the config file, we make a symlink: * `/etc/fluent/fluent.conf` => `/etc/fluent/td-agent.conf` We stop migrating the log filename. If need to output logs to the old filename `td-agent.log`, user needs to set the environmental variable. --------- Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
- Loading branch information
Showing
7 changed files
with
43 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
FLUENT_PACKAGE_OPTIONS="" | ||
# The following environment variable will be modified via package maintainer's migration script | ||
FLUENT_CONF=/etc/<%= package_dir %>/<%= service_name %>.conf | ||
FLUENT_PLUGIN=/etc/<%= package_dir %>/plugin | ||
FLUENT_PACKAGE_LOG_FILE=/var/log/<%= package_dir %>/<%= service_name %>.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 0 additions & 61 deletions
61
fluent-package/yum/systemd-test/update-from-v4-logrotation-config-edited.sh
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters