updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / freenet-fms / fms.install
blobff9bd5dd2ff255dd0fc772e39d417487690eac2d
1 ## arg 1:  the new package version
2 post_install() {
3   echo "==> An user "fms" is created which own the /opt/fms directory"
4   groupadd -g 114 fms
5   useradd -u 114 -g fms -d /opt/fms/ -s /bin/bash fms &>/dev/null
6   echo "==> You must add yourself to the 'fms' group and re-login before attempting to start the daemon!"
7   echo "==> To start your node:"
8   echo "==>   /etc/rc.d/fms start"
9   echo "==> Go to http://127.0.0.1:8080/ to configure your node" 
10   echo "==> Read /opt/fms/readme.txt for further info"
13 ## arg 1:  the old package version
14 pre_remove() {
15   userdel fms &>/dev/null
16   groupdel fms &>/dev/null 
19 # vim:set ts=2 sw=2 et: