blob: bcea5684eefc62ee0ca709cf9931f5d56d4c211b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
USER=gostcoin
HOME=/var/lib/gostcoin
post_install() {
getent passwd ${USER} &>/dev/null || {
echo -n ">>> Creating ${USER} user... "
useradd --system --user-group -m --home ${HOME} ${USER}
echo "done"
} # user not removed on uninstall by Arch policy: no unowned directories
echo ">>> You must enable [sam] in /etc/i2p/i2pd.conf and set port in /etc/gostcoind.conf"
echo ">>> To start gostcoin daemon: systemctl start gostcoind"
}
|