updated on Fri Jan 13 04:01:25 UTC 2012
[aur-mirror.git] / ajenti / ajenti.install
blob72fb4e14b795d3180e064740f421cd9f81b547aa
1 post_install() {
2         post_upgrade
3         print_info
6 post_upgrade() {
7         clean_plugins
8         ajenti-pkg upgrade
11 pre_remove() {
12         rc.d stop ajenti || return 1
15 post_remove() {
16         clean_ajenti
19 clean_plugins() {
20         rm -rf /var/lib/ajenti/plugins/*
23 clean_ajenti() {
24         rm -rf /var/lib/ajenti
27 print_info() {
28         /bin/cat << EOF
29 ==> Run "rc.d start ajenti" to start Ajenti daemon
30 ==> Open http://127.0.0.1:8000/ to setup and use Ajenti
31 EOF