Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
webyast-base
update_webyast_service
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File update_webyast_service of Package webyast-base
#!/bin/sh # This is a shared script for updating and restarting webyast after package update. # The restart is done via an update script which symlinks to this file. RESTART_FILE="/var/lib/webyast/restart" WEBYAST_DIR="/srv/www/webyast" # restart file and Webyast initscript present if [ -f $RESTART_FILE ]; then cd $WEBYAST_DIR # update assets - use assets.rake file directly for faster loading rake -f lib/tasks/assets.rake assets:join_manifests # update Gemfile if test -f "Gemfile" ; then bundle update fi cd - # restart Webyast if it is running /etc/init.d/webyast try-restart # remove the restart file so this script is called just once rm -f $RESTART_FILE fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor