D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
lib
/
systemd
/
system
/
Filename :
plesk-ip-remapping.service
back
Copy
# Copyright 1999-2025. WebPros International GmbH. All rights reserved. [Unit] Description=Plesk IP remapping Wants=mariadb.service mysql.service network-online.target After=mariadb.service mysql.service network-online.target [Service] Type=oneshot # unfortunatelly network-online.target may be reached earlier than all IPs are obtained # so additional check should be performed and delay should be done if needed ExecStartPre=/bin/bash -c 'for i in {1..30}; do [ -z "`/opt/psa/admin/sbin/ifmng -l`" ] && sleep 1 || break; done;' ExecStartPre=/bin/bash -c 'for i in {1..10}; do /usr/bin/mysqladmin ping -s 1>/dev/null && break || sleep 1; done;' ExecStart=/opt/psa/bin/ipmanage --auto-remap -with-public-reload [Install] WantedBy=multi-user.target