This commit is contained in:
Alarig Le Lay 2019-01-24 19:50:18 +01:00
parent 833a06ce8d
commit b941c57f13
2 changed files with 17 additions and 1 deletions

16
Makefile Normal file
View 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/

View file

@ -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