File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ if [ "$1" = "configure" ]; then
18
18
19
19
mkdir -p /etc/mamonsu/plugins
20
20
touch /etc/mamonsu/plugins/__init__.py
21
- [ -f /etc/mamonsu/agent.conf ] || cp /usr/share/mamonsu/example_linux.conf /etc/mamonsu/agent.conf
21
+ [ -f /etc/mamonsu/agent.conf ] || cp /usr/share/mamonsu/example_linux.conf /etc/mamonsu/agent.conf && chown mamonsu:mamonsu /etc/mamonsu/agent.conf
22
22
23
23
chown mamonsu:mamonsu /var/log/mamonsu
24
24
chown mamonsu:mamonsu /var/lib/mamonsu
Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ install: build
27
27
binary-indep : build install
28
28
dh_testdir -i
29
29
dh_testroot -i
30
- install -m 0644 packaging/conf/example_linux.conf debian/mamonsu/usr/share/mamonsu
31
30
dh_installchangelogs -i
32
31
dh_installinit -i
33
32
dh_installdebconf -i
34
33
dh_installlogrotate -i
35
34
dh_link -i
36
35
dh_compress -i
37
36
dh_fixperms -i
37
+ install -m 0600 -o mamonsu -g mamonsu packaging/conf/example_linux.conf debian/mamonsu/usr/share/mamonsu
38
38
dh_installdeb -i
39
39
dh_gencontrol -i
40
40
dh_md5sums -i
You can’t perform that action at this time.
0 commit comments