403Webshell
Server IP : 104.21.4.30  /  Your IP : 104.23.243.172
Web Server : Apache
System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64
User : simottodesign.com_2tntp341vs7 ( 10011)
PHP Version : 8.3.31
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info/ai-bolit.postinst
#!/usr/bin/env bash

echo -e "[aibolit]\nAT_CLKTCK=$(getconf CLK_TCK)\n" > /opt/ai-bolit/config.ini
chmod 0400 /opt/ai-bolit/config.ini
chmod o-rwx /opt/ai-bolit/*
chmod o-rwx /lib/systemd/system/aibolit-resident.service

case "$1" in
    configure)
        /bin/systemctl daemon-reload >/dev/null

        if /bin/systemctl is-enabled aibolit-resident.service >/dev/null
        then
            /bin/systemctl start aibolit-resident.service >/dev/null
        fi

        systemctl daemon-reload >/dev/null
        systemctl enable aibolit-resident.service && \
        systemctl enable aibolit-resident.socket && \
        systemctl start aibolit-resident.socket
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument '$1'" >&2
        exit 1
    ;;

esac

Youez - 2016 - github.com/yon3zu
LinuXploit