Created
May 21, 2013 10:25
-
-
Save andreagrandi/5618842 to your computer and use it in GitHub Desktop.
Substitute a placeholder like {{hostname}} that is inside a file, with the output of the hostname command.
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
sed -i "s/{{hostname}}/`hostname`/g" /etc/supervisor/conf.d/celeryd.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment