Possibly fixed test
[p5sagit/Oyster.git] / .build / spEUsgyear / share / deploy / git / post-update
CommitLineData
e74d6d9c 1#!/bin/sh
2
3# This rather relies on being an account with permission to do this.
4# Who does the script run as? Presumably the owner of the repo as git will
5# use ssh-keys to get onto the server.
6#
7# Realistically that user needs to be put in /etc/sudoers
8#
9# user ALL=NOPASSWD: /etc/init.d/apache
10#
11# And also the command below should be prefixed by sudo
12
13# Restart server
14/etc/init.d/apache graceful