2

I am running Jailkit on my server and need to add Mercurial (command hg) to all existing and future Jailkit jails.

From what I understand, creating a new jail with jk_init and a profile that includes hg will only make it available in new jails. How can I add the hg command to all my existing jails?

tanius
  • 590
  • 5
  • 13
Paul Peelen
  • 289
  • 2
  • 16
  • [Administration panels are off topic](http://serverfault.com/help/on-topic). [Even the presence of an administration panel on a system,](http://meta.serverfault.com/q/6538/118258) because they [take over the systems in strange and non-standard ways, making it difficult or even impossible for actual system administrators to manage the servers normally](http://meta.serverfault.com/a/3924/118258), and tend to indicate low-quality questions from *users* with insufficient knowledge for this site. – HopelessN00b Mar 08 '15 at 20:52

1 Answers1

3

There is the jk_cp command. E.g. use jk_cp -j /var/www/clients/client2/web16 /usr/bin/hg to copy the needed file(s).

Croydon
  • 46
  • 1