mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Create floatingip.service
This commit is contained in:
14
services/floatingip.service
Normal file
14
services/floatingip.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Floating IP
|
||||
After=docker.service
|
||||
BindsTo=docker.service
|
||||
ReloadPropagatedFrom=docker.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/user/local/admin/scripts/Nginx/regenerate_hosts
|
||||
ExecReload=/user/local/admin/scripts/Nginx/regenerate_hosts
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user