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/cpipv6.service
[Unit]
Description=cPanel IPv6 service
Requires=network-online.target
After=network-online.target
ConditionPathExists=/etc/userdatadomains
ConditionFileIsExecutable=/usr/local/cpanel/whostmgr/bin/cpipv6

[Service]
Type=oneshot
RemainAfterExit=yes

ExecStart=/usr/local/cpanel/whostmgr/bin/cpipv6 start
ExecStop=/usr/local/cpanel/whostmgr/bin/cpipv6 stop
ExecReload=/usr/local/cpanel/whostmgr/bin/cpipv6 restart
# cannot a custom action for list, need to use /usr/local/cpanel/whostmgr/bin/cpipv6 list manually

[Install]
WantedBy=multi-user.target