One of these should work:
Method = Restart Local Service, Command = ipsec (This may be enough to refresh the IPsec config, but it's not a full restart)
Method = PHP Command, Command = ipsec_configure(true) (This may fail since it may not have the right required libraries)
Method = Shell Command, Command = /usr/local/sbin/pfSsh.php playback restartipsec (This may fail since the ACME script which starts the command is PHP, and launching pfSsh.php from within PHP doesn't always work)
Method = PHP Command, Command = file_get_contents("/etc/phpshellsessions/restartipsec") (If the shell command fails, this should work instead)