diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-05-04 14:17:43 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-05-04 14:17:43 +0000 |
commit | ea3294eb87831c238c78ed6a34197669b8a89f66 (patch) | |
tree | 6e9fecd8a3f32044d1358cba89765a32dde8959e /www-servers/ocsigen/files | |
parent | Now creating /dev/root the easy way (mknod), Bug #175243. Printing a warning ... (diff) | |
download | gentoo-2-ea3294eb87831c238c78ed6a34197669b8a89f66.tar.gz gentoo-2-ea3294eb87831c238c78ed6a34197669b8a89f66.tar.bz2 gentoo-2-ea3294eb87831c238c78ed6a34197669b8a89f66.zip |
Version bump, thanks to Pierre Clairambault for the ebuild
(Portage version: 2.1.2.5)
Diffstat (limited to 'www-servers/ocsigen/files')
-rw-r--r-- | www-servers/ocsigen/files/digest-ocsigen-0.99.0 | 3 | ||||
-rw-r--r-- | www-servers/ocsigen/files/ocsigen.initd | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/www-servers/ocsigen/files/digest-ocsigen-0.99.0 b/www-servers/ocsigen/files/digest-ocsigen-0.99.0 new file mode 100644 index 000000000000..4eb209090bef --- /dev/null +++ b/www-servers/ocsigen/files/digest-ocsigen-0.99.0 @@ -0,0 +1,3 @@ +MD5 b6613327b73fb98764ace39979c92fda ocsigen-0.99.0.tar.gz 1075607 +RMD160 7c0b5f568f2cf8b5f33d1ba1532a4fb726583400 ocsigen-0.99.0.tar.gz 1075607 +SHA256 9fffc229acee8ff34fb51cb2c895d8f86a96ca2fa4d005fb827da066718b205e ocsigen-0.99.0.tar.gz 1075607 diff --git a/www-servers/ocsigen/files/ocsigen.initd b/www-servers/ocsigen/files/ocsigen.initd index 3edb2685af02..3fe06724e52b 100644 --- a/www-servers/ocsigen/files/ocsigen.initd +++ b/www-servers/ocsigen/files/ocsigen.initd @@ -2,7 +2,7 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -opts="depend checkconfig start stop" +opts="depend checkconfig start stop reload" depend() { need net @@ -37,3 +37,14 @@ stop() { start-stop-daemon --stop --pidfile $PIDFILE eend $? } + +reload() { + if [[ ! -f $PIDFILE ]] ; then + ewarn "$PIDFILE not found!!" + ewarn "Ocsigen is not running. Not reloading." + return 1 + fi + ebegin "Reloading ocsigen" + echo reload > /var/run/ocsigen_command + eend $? +} |