Skip to content

Instantly share code, notes, and snippets.

@jefftriplett
Created January 12, 2010 06:34
Show Gist options
  • Save jefftriplett/274964 to your computer and use it in GitHub Desktop.
Save jefftriplett/274964 to your computer and use it in GitHub Desktop.
Patchwork commands
Available commands:
apache_activate Set Apache to start on boot
apache_available_modules List available Apache modules
apache_available_sites List available Apache sites
apache_create_website Create a new website
apache_deactivate Set Apache to not start on boot
apache_delete_website Delete a website (! delete all file and fol...
apache_disable_module Disable Apache module
apache_disable_site Disable Apache site
apache_enable_module Enable Apache module
apache_enable_site Enable Apache site
apache_enabled_modules List enabled Apache modules
apache_enabled_sites List enabled Apache sites
apache_force_reload Force reload Apache webserver
apache_install Install Apache webserver
apache_reload Reload Apache webserver
apache_restart Restarts Apache webserver
apache_start Starts Apache webserver
apache_stop Stops Apache webserver
app_checkout_latest Pull the latest code into the git repo and ...
app_clone_repo Do initial clone of the git repo
app_deploy Deploy the latest version of the site to th...
app_migrate Run our migrations
app_symlink_current_release Symlink our current release, uploads and se...
couchdb_activate Set CouchDB to start on boot
couchdb_deactivate Set CouchDB to not start on boot
couchdb_install Install CouchDB
couchdb_reload Reload CouchDB
couchdb_restart Restart CouchDB
couchdb_start Start CouchDB
couchdb_stop Stop CouchDB
fabric_run
memcached_activate Set Memcache to start on boot
memcached_deactivate Set Memcache to not start on boot
memcached_force_reload Force reload Memcache server
memcached_install Installs Memcache server
memcached_restart Restarts Memcache server
memcached_start Starts Memcache server
memcached_stop Stops Memcache server
mysql_change_password Ask for a MySQL user and change his passwor...
mysql_create_database Create a new MySQL database, a new MySQL us...
mysql_export Export MySQL database
mysql_install Install MySQL
mysql_restart Restarts MySQL database server
mysql_start Starts MySQL database server
mysql_stop Stops MySQL database server
nginx_available_sites List available Nginx sites
nginx_disable_site Disable Nginx site
nginx_enable_site Enable Nginx site
nginx_enabled_sites List enabled Nginx sites
nginx_force_reload Force reload Nginx webserver
nginx_install Install Nginx
nginx_reload Reload Nginx webserver
nginx_restart Restarts Nginx webserver
nginx_start Starts Nginx webserver
nginx_stop Stops Nginx webserver
ntp_activate Enable ntp start scripts on server.
ntp_config Push ntp config files to server
ntp_deactivate Disable ntp start scripts on server.
ntp_install Install ntp
ntp_restart Restarts ntp server
ntp_start Starts ntp server
ntp_stop Stops ntp server
pgpool_activate Set pgpool to start on boot
pgpool_deactivate Set pgpool to not start on boot
pgpool_install Install pgpool
pgpool_reload Reload pgpool
pgpool_restart Restart pgpool
pgpool_start Start pgpool
pgpool_stop Stop pgpool
postfix_install Install Postfix
postfix_restart Restarts Postfix mailserver
postfix_start Starts Postfix mailserver
postfix_stop Stops Postfix mailserver
postgres_activate Set PostgreSQL to start on boot
postgres_change_password Ask for a PostgreSQL user and change his pa...
postgres_create_database Create a new PostgreSQL database, a new Pos...
postgres_deactivate Set PostgreSQL to not start on boot
postgres_drop_database Drop a PostgreSQL database
postgres_export Export PostgreSQL database
postgres_install Install PostgreSQL
postgres_reload Reload PostgreSQL database server
postgres_restart Restarts PostgreSQL database server
postgres_start Starts PostgreSQL database server
postgres_stop Stops PostgreSQL database server
rabbitmq_activate Set RabbitMQ to start on boot
rabbitmq_deactivate Set RabbitMQ to not start on boot
rabbitmq_force_reload Force reload RabbitMQ server
rabbitmq_install Installs RabbitMQ server
rabbitmq_list_bindings List RabbitMQ bindings
rabbitmq_list_connections List RabbitMQ connections
rabbitmq_list_exchanges List RabbitMQ exchanges
rabbitmq_list_permissions List RabbitMQ permissions
rabbitmq_list_queues List RabbitMQ queues
rabbitmq_list_users List RabbitMQ users
rabbitmq_list_vhosts List RabbitMQ vhosts
rabbitmq_restart Restarts RabbitMQ server
rabbitmq_rotate_logs Rotate the RabbitMQ logs
rabbitmq_start Starts RabbitMQ server
rabbitmq_status Shows the RabbitMQ status
rabbitmq_stop Stops RabbitMQ server
ssh_reload Reload SSH service.
ssh_setup Setup SSH on the gateway host. Runs `upload...
ssh_upload_keys Uploads your local public SSH keys to the s...
ubuntu_disk_space Show the amount of free disk space.
ubuntu_free Display amount of free and used memory in t...
ubuntu_remove_locks Remove locks from aborted apt-get command.
ubuntu_restart Reboot the server
ubuntu_shutdown Shut down the server
ubuntu_update Resynchronize the package index files from ...
ubuntu_upgrade Install the newest versions of all packages...
varnish_activate Set Varnish to start on boot
varnish_deactivate Set Varnish to not start on boot
wsgi_create Create a WSGI config for a website
wsgi_install Install WSGI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment