[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
