Skip to content

SCys/gentoo-init-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

django sites gentoo init scripts

# install 
su -
cp django-sites /etc/init.d

# usage
cd /path/to/django-site/
touch django-init.conf
vim /etc/init.d/django-sites

  modify:
    SITE_CONF_PATH="/path/to/django-site /other/path"
    DEFAULT_SITE_USER="nginx" # other user your web server

/etc/init.d/django-sites site_start /path/to/django-site/django-init.conf

# actions 
site_start   # single site action start
site_restart # single site action restart
site_stop    # single site action stop
restart
stop
start

About

some gentoo init scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published