Makefile
This commit is contained in:
parent
833a06ce8d
commit
b941c57f13
16
Makefile
Normal file
16
Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
prefix = /usr/local
|
||||
|
||||
install:
|
||||
mkdir -p $(prefix)/sbin
|
||||
mkdir -p $(prefix)/etc/proxmox-routing
|
||||
mkdir -p /etc/systemd/system/
|
||||
mkdir -p /etc/logrotate.d/
|
||||
|
||||
cp creationRoutesVM.sh $(prefix)/sbin/creationRoutesVM
|
||||
cp inotify-triggered-vm-route-creation.sh $(prefix)/sbin/
|
||||
cp send-icmp.py $(prefix)/sbin/
|
||||
|
||||
cp creds.example $(prefix)/etc/proxmox-routing/creds
|
||||
|
||||
cp vm-route-creation.service /etc/systemd/system/
|
||||
cp vm-routes-creation.logrotate /etc/logrotate.d/
|
|
@ -2,7 +2,7 @@
|
|||
After=pve-guests.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/sbin/inotify-triggered-vm-route-creation
|
||||
ExecStart=/usr/local/sbin/inotify-triggered-vm-route-creation.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
Loading…
Reference in a new issue