Browse Source

Makefile

master
Alarig Le Lay 4 years ago
parent
commit
b941c57f13
  1. 16
      Makefile
  2. 2
      vm-route-creation.service

16
Makefile

@ -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
vm-route-creation.service

@ -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…
Cancel
Save