Docs Navigation

Changing a system configuration file

Semaphore allows you to change all system configuration settings as a super user. This means that you can use standard bash commands for updating the content of all files from your build commands.

For example, the following command allows you to update your /etc/hosts file:

sudo sh -c "echo 'yourchange' >> /etc/hosts"

As an alternative, you can create a custom configuration file from the Semaphore interface and then copy or move it to the desired location:

sudo mv /home/runner/my_custom_hosts /etc/hosts

Semaphore Docs are open source — Edit on GitHub

Newsletter

Occasional lightweight product and blog updates. Unsubscribe at any time.

2009-2017 © Rendered Text. All rights reserved. Terms of Service, Privacy policy, Security.