home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set up htwtxt restart reminder.
[config]
/
jessie_postinstall.sh
diff --git
a/jessie_postinstall.sh
b/jessie_postinstall.sh
index da071445642d56b3eb2f208e0e270e5c5d2801e1..5305c14b78fb08879615d668077cef2586df03f9 100755
(executable)
--- a/
jessie_postinstall.sh
+++ b/
jessie_postinstall.sh
@@
-226,7
+226,10
@@
if [ "$1" = "server" ]; then
su - plom -c 'go get htwtxt'
path=`su - plom -c 'echo $GOPATH/bin/htwtxt'`
setcap 'cap_net_bind_service=+ep' $path
su - plom -c 'go get htwtxt'
path=`su - plom -c 'echo $GOPATH/bin/htwtxt'`
setcap 'cap_net_bind_service=+ep' $path
- su - plom -c 'mkdir ~/htwtxt'
+ su - plom -c 'mkdir -p ~/htwtxt'
+ cp config/systemfiles/htwtxt_restart_reminder.service \
+ /etc/systemd/system/htwtxt_restart_reminder.service
+ systemctl enable /etc/systemd/system/htwtxt_restart_reminder.service
fi
elif [ "$1" = "thinkpad" ]; then
fi
elif [ "$1" = "thinkpad" ]; then