Server : Apache System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : andertr9 ( 1047) PHP Version : 8.2.18 Disable Function : NONE Directory : /etc/systemd/system/ |
Upload File : |
[Unit] Description=cPanel IP aliases service Requires=network-online.target After=network-online.target Before=httpd.service ConditionFileNotEmpty=/etc/ips ConditionPathExists=/var/cpanel/mainip ConditionFileIsExecutable=/sbin/ip ConditionFileIsExecutable=/usr/local/cpanel/whostmgr/bin/ipaliases [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/local/cpanel/whostmgr/bin/ipaliases start ExecStop=/usr/local/cpanel/whostmgr/bin/ipaliases stop ExecReload=/usr/local/cpanel/whostmgr/bin/ipaliases restart # cannot a custom action for list, need to use /usr/local/cpanel/whostmgr/bin/ipaliases list manually [Install] WantedBy=multi-user.target