commit ed23b69dacd698e3dba8e9277afab68381e3e214
parent 06a09241f527112b4aff71159d6c9092c4843c21
Author: Remy Noulin (Spartatek) <remy.noulin@spartatek.se>
Date: Sun, 16 Jul 2017 22:27:03 +0200
add 4-easydoneit.sh because 3-home.sh adds a secondary group
the user has to logout to be able to use docker
README.md | 5 +++++
debian/3-home.sh | 14 ++------------
debian/4-easydoneit.sh | 10 ++++++++++
3 files changed, 17 insertions(+), 12 deletions(-)
Diffstat:
3 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
@@ -28,6 +28,11 @@ cd debian
sudo ./1-system.sh
sudo ./2-desktopSystem.sh
./3-home.sh
+logout
+# login again to update groups
+su - username
+cd systemSetup/debian/
+./
```
# Installed programs
diff --git a/debian/3-home.sh b/debian/3-home.sh
@@ -43,15 +43,5 @@ cd ..
echo 'Setting up docker for non-root users'
sudo gpasswd -a $USER docker
# reinitialize environment to load the new group
-newgrp -
-
-# easydoneit
-# create default database
-edi version
-docker run --name xapian -p 8000:80 -v ~/easydoneit_data/tasks:/data -d --restart=always remynoulin/xapian-omega-alp
-
-# add xapian index update to crontab
-crontab -l > tmpCron
-echo '0 5 * * * /home/'$USER'/bin/updateXapianIndex.sh' >> tmpCron
-crontab tmpCron
-rm tmpCron
+# starts a new shell - not good
+# newgrp -
diff --git a/debian/4-easydoneit.sh b/debian/4-easydoneit.sh
@@ -0,0 +1,10 @@
+# easydoneit
+# create default database
+edi version
+docker run --name xapian -p 8000:80 -v ~/easydoneit_data/tasks:/data -d --restart=always remynoulin/xapian-omega-alp
+
+# add xapian index update to crontab
+crontab -l > tmpCron
+echo '0 5 * * * /home/'$USER'/bin/updateXapianIndex.sh' >> tmpCron
+crontab tmpCron
+rm tmpCron