Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=771594b5758ee7a6792b9ee2e53fb0277a59eb68
commit 771594b5758ee7a6792b9ee2e53fb0277a59eb68 Author: James Buren <[email protected]> Date: Sun Jul 29 10:41:42 2012 -0500 upgrade: document necessary changes for sysconfig files diff --git a/docs/upgrade.txt b/docs/upgrade.txt index ed2c96c..c4529ef 100644 --- a/docs/upgrade.txt +++ b/docs/upgrade.txt @@ -257,6 +257,23 @@ daemon will be configurable by the daemon's own configuration file(s) or is expected to work in most if not all cases without custom configuration. +Another thing to note is that any files referenced by a systemd service +file under `/etc/sysconfig` or `/etc/courier` directories are incapable +of supporting variable expansions anymore or any other shell script code. +You must expand any such code to a static value. The following is an +example of the old practice: + +---- +BAR="-bar" +FOO="$BAR -option" +---- + +It must be replaced by the new practice, demonstrated by this example: + +---- +FOO="-bar -option" +---- + You can enable a systemd unit with this command, replacing `foo` with the proper service name, and also as root: _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
