ajust install package
This commit is contained in:
@@ -29,6 +29,17 @@ fi
|
||||
chown -R oj:oj /var/lib/bitoj || true
|
||||
chmod 755 /var/lib/bitoj /var/log/bitoj
|
||||
|
||||
if [ -f /etc/apparmor.d/bitoj-guards ]; then
|
||||
if command -v apparmor_parser >/dev/null 2>&1; then
|
||||
apparmor_parser -r /etc/apparmor.d/bitoj-guards || true
|
||||
fi
|
||||
if command -v service >/dev/null 2>&1; then
|
||||
service apparmor reload >/dev/null 2>&1 || true
|
||||
elif [ -x /etc/init.d/apparmor ]; then
|
||||
/etc/init.d/apparmor reload >/dev/null 2>&1 || true
|
||||
fi
|
||||
fi
|
||||
|
||||
if command -v systemctl >/dev/null 2>&1; then
|
||||
systemctl daemon-reload
|
||||
if command -v systemd-tmpfiles >/dev/null 2>&1; then
|
||||
|
||||
Reference in New Issue
Block a user