Skip to content

Commit

Permalink
force proper homegear service umask (#1052)
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Storm <[email protected]>
  • Loading branch information
mstormi authored Jul 26, 2020
1 parent e779894 commit f65b524
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions build.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env bash
set -e

###########################################################
#### dummy: change this line to force another image build
###########################################################

usage() {
echo -e "Usage: $(basename "$0") <platform> [dev-git|dev-url] <branch> <url>"
Expand Down
6 changes: 3 additions & 3 deletions includes/homegear-management.service
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Type=simple
User=homegear
Group=homegear
RuntimeDirectory=homegear
#PIDFile=homegear-management.pid
#TimeoutSec=300
#LimitRTPRIO=100
RuntimeDirectoryMode=0755
TimeoutSec=300
LimitRTPRIO=100
ExecStart=/usr/bin/homegear-management -p /var/run/homegear/homegear-management.pid
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
Expand Down
4 changes: 2 additions & 2 deletions includes/homegear.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Type=simple
User=homegear
Group=homegear
RuntimeDirectory=homegear
#PIDFile=homegear.pid
#LimitRTPRIO=100
RuntimeDirectoryMode=0755
LimitRTPRIO=100
TasksMax=infinity
LimitCORE=infinity
ExecStart=/usr/bin/homegear
Expand Down

0 comments on commit f65b524

Please sign in to comment.