Last active
January 19, 2025 11:49
-
-
Save psyray/1a188a3240e4219a51a751b549e487eb to your computer and use it in GitHub Desktop.
Jailkit for Debian Stretch (add PHP, Drush, Composer, NodeJS, NPM, Ruby, Gem, Compass)
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
[php] | |
comment = the php interpreter and libraries | |
executables = /usr/bin/php,/usr/bin/php5.6,/usr/bin/php7.0,/usr/bin/php7.1 | |
directories = /usr/lib/php, /usr/share/php, /usr/share/php5, /etc/php, /usr/share/php-geshi, /usr/share/zoneinfo, /etc/snmp, /usr/share/snmp | |
includesections = env | |
[env] | |
comment = environment variables | |
executables = /usr/bin/env | |
[mysql-client] | |
comment = mysql client | |
executables = /usr/bin/mysql, /usr/bin/mysqldump | |
paths = /usr/lib/libmysqlclient.so | |
[drush] | |
comment = drush (drupal command line) | |
executables = /usr/local/bin/drush | |
includesections = php, mysql-client, uidbasics, netbasics | |
directories = /etc/ssl/certs, /usr/share/ca-certificates | |
[composer] | |
comment = composer | |
executables = /usr/local/bin/composer | |
includesections = php, uidbasics, netbasics | |
[node] | |
comment = NodeJS | |
executables = /usr/bin/npm, /usr/bin/node, /usr/bin/nodejs | |
directories = /usr/lib/node_modules | |
[ruby] | |
comment = Ruby | |
executable = /usr/bin/ruby, /usr/bin/gem, /usr/bin/gem2.3 | |
directories = /usr/lib/ruby, /usr/lib/x86_64-linux-gnu/ruby, /var/lib/gems, /usr/share/rubygems-integration | |
[compass] | |
comment = Compass | |
executables = /usr/bin/compass | |
includesections = ruby | |
directories = /usr/share/compass |
How did you get JailKit running on Debian? I cannot make it work on Debian (only on Ubuntu): https://askubuntu.com/a/102206/34298
Remove php 5.6
You should update directories
to paths
The entries executables , regularfiles , directories and libraries are all replaced by the entry paths.. They are still supported, but are handled similar to the paths entry.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Section Ruby: executable must be Changed to executables - otherwies it will not work