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 76a75f6cd266a8dfc39b7edbb1cb625bd0fd9cd4..5305c14b78fb08879615d668077cef2586df03f9 100755
(executable)
--- a/
jessie_postinstall.sh
+++ b/
jessie_postinstall.sh
@@
-227,6
+227,9
@@
if [ "$1" = "server" ]; then
path=`su - plom -c 'echo $GOPATH/bin/htwtxt'`
setcap 'cap_net_bind_service=+ep' $path
su - plom -c 'mkdir -p ~/htwtxt'
path=`su - plom -c 'echo $GOPATH/bin/htwtxt'`
setcap 'cap_net_bind_service=+ep' $path
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