MOON
Server: LiteSpeed
System: Linux server4.datacenterland.com 5.4.203-1-pve #1 SMP PVE 5.4.203-1 (Fri, 26 Aug 2022 14:43:35 +0200) x86_64
User: khakzad (1054)
PHP: 5.6.40
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, symlink
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