diff options
author | 2013-07-16 10:14:36 +0000 | |
---|---|---|
committer | 2013-07-16 10:14:36 +0000 | |
commit | 770ebadd46e3fd3d60867f2b9de23a87f9cc18dc (patch) | |
tree | b948ec31c8cd305cdc1d1c3b8c0b8347dd09b732 /www-servers/thin/files/thin.confd-1 | |
parent | Cleanup. (diff) | |
download | historical-770ebadd46e3fd3d60867f2b9de23a87f9cc18dc.tar.gz historical-770ebadd46e3fd3d60867f2b9de23a87f9cc18dc.tar.bz2 historical-770ebadd46e3fd3d60867f2b9de23a87f9cc18dc.zip |
Add support for running thin as a different user and group than root. Thanks to Thomas D. in bug 473280.
Package-Manager: portage-2.1.12.2/cvs/Linux x86_64
Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'www-servers/thin/files/thin.confd-1')
-rw-r--r-- | www-servers/thin/files/thin.confd-1 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/www-servers/thin/files/thin.confd-1 b/www-servers/thin/files/thin.confd-1 new file mode 100644 index 000000000000..16eddf2f524c --- /dev/null +++ b/www-servers/thin/files/thin.confd-1 @@ -0,0 +1,32 @@ +# /etc/conf.d/thin: Configuration for /etc/init.d/thin* +# Copy this file to /etc/conf.d/thin.SERVERNAME for server specific options. + +# Set the configuration file location. +# In start-all mode (/etc/init.d/thin), this must point to the directory where +# all the thin configurations are located. +# When starting a specific server (/etc/init.d/thin.SERVER), point to the exact +# location of the .yml configuration file. +# CONFIG="/etc/thin/${SVCNAME#*.}.yml" + +# Disable looking for a configuration file. +# You can use THIN_OPTS instead for setting command line options. +# NOCONFIG=0 + +# Set the Ruby interpreter to use. +# RUBY="/usr/bin/ruby" + +# Set the user for this instance. +# (Should mirror "user" value in /etc/thin/${SVCNAME#*.}.yml) +# THIN_USER= + +# Set the group for this instance. +# (Should mirror "group" value in /etc/thin/${SVCNAME#*.}.yml) +# THIN_GROUP= + +# Set the pidfile for this instance. +# (Should mirror "pid" value in /etc/thin/${SVCNAME#*.}.yml) +# THIN_PID= + +# Set command line options to pass to thin. +# In specific server mode, '--tag SERVER_NAME' is automatically appended. +# THIN_OPTS= |