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
1818
1919 mkdir -p /etc/mamonsu/plugins
2020 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
2222
2323 chown mamonsu:mamonsu /var/log/mamonsu
2424 chown mamonsu:mamonsu /var/lib/mamonsu
Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ install: build
2727binary-indep : build install
2828 dh_testdir -i
2929 dh_testroot -i
30- install -m 0644 packaging/conf/example_linux.conf debian/mamonsu/usr/share/mamonsu
3130 dh_installchangelogs -i
3231 dh_installinit -i
3332 dh_installdebconf -i
3433 dh_installlogrotate -i
3534 dh_link -i
3635 dh_compress -i
3736 dh_fixperms -i
37+ install -m 0600 -o mamonsu -g mamonsu packaging/conf/example_linux.conf debian/mamonsu/usr/share/mamonsu
3838 dh_installdeb -i
3939 dh_gencontrol -i
4040 dh_md5sums -i
You can’t perform that action at this time.
0 commit comments