Fixed missing path on service command
Change-Id: Ia07c0f6ca1d101f51e249dd91d42ab4972f655eb
This commit is contained in:
@@ -133,7 +133,6 @@ function catalog_get_version {
|
||||
echo $RELEASE_DATE
|
||||
}
|
||||
|
||||
|
||||
function site_update {
|
||||
if [ ! $1 ]; then
|
||||
echo "ERROR: missing site parameter"
|
||||
@@ -216,5 +215,5 @@ function site_update {
|
||||
rm -rf $SITE_ROOT/w
|
||||
ln -s $target_dir $SITE_ROOT/w
|
||||
# to reset op cache
|
||||
service $PHP_SERVICE_NAME restart
|
||||
/usr/sbin/service $PHP_SERVICE_NAME restart
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user