summarylogtreecommitdiffstats
path: root/xsp.install
blob: c14b2e0e81d74a2525c83a39cb0e04614d032727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# arg 1:  the new package version
post_install() {
  cat << EOM

-->  xsp is just the helping app for mod_mono if you like a production like
-->  server. xsp itself is for ASP testing mainly  -- read the manpage for xsp
-->  to know which options are available.
-->  Archlinux will provide xsp configured by a .webapp configuration file
-->  which rests in /etc/xsp. Just put your other webapp files there to let
-->  xsp pick them up.
-->  xsp is commandline based configuration is done in /etc/conf.d/xsp. Set all
-->  your arguments there. Don't forget that you can run xsp from the console
-->  as oridinary user, which is safer and for testing absolutely sufficient!!

-->  You can run the testpages simply by starting the server and calling 
                       http://localhost:9000
-->  from your browser's location bar


EOM
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  post_install $1
}

# arg 1:  the old package version
pre_remove() {
  /bin/true
}

# arg 1:  the old package version
post_remove() {
  /bin/true
}