HEX
Server: LiteSpeed
System: Linux hz1.serversetup.co 4.18.0-513.18.1.el8_9.x86_64 #1 SMP Thu Feb 22 03:02:37 EST 2024 x86_64
User: axonvira (1009)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,curl_multi_exec,show_source
Upload Files
File: //etc/systemd/system/cpanel-onboot.service
[Unit]

Description=cPanel on Boot service
After=network.target network-online.target multi-user.target

[Service]
Type=oneshot

# run once per boot time
RemainAfterExit=yes
ExecStart=/bin/bash -c 'echo "$(/usr/bin/date +"[%%Y-%%m-%%d %%T %%z]") cpanel-onboot - service start (reboot detected)" >>/usr/local/cpanel/logs/error_log'
ExecStart=/usr/local/cpanel/libexec/cpanel-onboot
ExecStart=/bin/bash -c 'echo "$(/usr/bin/date +"[%%Y-%%m-%%d %%T %%z]") cpanel-onboot - service finished" >>/usr/local/cpanel/logs/error_log'

Environment="LANG=C"
Environment="LANGUAGE=C"
Environment="LC_ALL=C"
Environment="LC_MESSAGES=C"
Environment="LC_CTYPE=C"

[Install]
WantedBy=multi-user.target