Kerala Cyber Warriors
KCW Uploader V1.1

Path : /etc/systemd/system/
File Upload :
Current File : //etc/systemd/system/ipaliases.service

[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

-=[ KCW uplo4d3r c0ded by cJ_n4p573r ]=-
Ⓒ2017 ҠЄГѦLѦ СүѣЄГ ЩѦГГіѺГՏ