aboutsummaryrefslogtreecommitdiff
path: root/contrib/packages/alpine/gnunet/gnunet.xsession
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-10-26 13:35:48 +0000
committerng0 <ng0@n0.is>2019-10-26 13:35:48 +0000
commit855fbf5b9db9ff680c15e6fd21382c4d7afffc84 (patch)
tree188a133d55e2f22c827bcc70dda14b0cd32f98f0 /contrib/packages/alpine/gnunet/gnunet.xsession
parent6ea27c7f49a1368caae113d148b821fd22f380b7 (diff)
parent5a71ae7aa440f3aa7ca490b7c72bca7982f38348 (diff)
downloadgnunet-855fbf5b9db9ff680c15e6fd21382c4d7afffc84.tar.gz
gnunet-855fbf5b9db9ff680c15e6fd21382c4d7afffc84.zip
Merge branch 'master' of gnunet.org:gnunet
Diffstat (limited to 'contrib/packages/alpine/gnunet/gnunet.xsession')
-rw-r--r--contrib/packages/alpine/gnunet/gnunet.xsession10
1 files changed, 2 insertions, 8 deletions
diff --git a/contrib/packages/alpine/gnunet/gnunet.xsession b/contrib/packages/alpine/gnunet/gnunet.xsession
index f19d6baf7..944d47a27 100644
--- a/contrib/packages/alpine/gnunet/gnunet.xsession
+++ b/contrib/packages/alpine/gnunet/gnunet.xsession
@@ -2,7 +2,8 @@
2user=$(whoami) 2user=$(whoami)
3gnunet_proxy=$(gnunet-config -c /etc/skel/.config/gnunet.conf -s gns-proxy|grep 'IMMEDIATE_START = YES') 3gnunet_proxy=$(gnunet-config -c /etc/skel/.config/gnunet.conf -s gns-proxy|grep 'IMMEDIATE_START = YES')
4 4
5# Enable GNS proxy for new users informed by /etc/skel. 5# Enable GNS proxy for new users informed by /etc/skel (system wide
6# installation decision).
6if [ "$gnunet_proxy" ]; then 7if [ "$gnunet_proxy" ]; then
7 8
8 # Calculate user specific port 9 # Calculate user specific port
@@ -45,10 +46,3 @@ fi
45 46
46# Create/Renew GNS certificate authority (CA) per user. 47# Create/Renew GNS certificate authority (CA) per user.
47gnunet-gns-proxy-setup-ca 48gnunet-gns-proxy-setup-ca
48
49# In case a new user was added and gnunet-user-services has not been
50# restarted afterwards, start user services after login.
51if test -z "`ps|grep -v grep|grep $user|grep gnunet-service-arm`" > /dev/null 2>&1
52then
53 gnunet-arm -c /home/$user/.config/gnunet.conf -s
54fi