1
0
Fork 0
mirror of https://github.com/alice-lg/birdwatcher.git synced 2025-03-09 00:00:05 +01:00

added systemd support

This commit is contained in:
Matthias Hannig 2016-11-30 15:41:17 +01:00
parent 10b3174a50
commit 53ff3aa013
8 changed files with 31 additions and 3 deletions

View file

@ -44,12 +44,12 @@ endif
dist: clean linux
mkdir -p $(DIST)opt/ecix/birdwatcher/bin
mkdir -p $(DIST)etc/init
mkdir -p $(DIST)etc/systemd
mkdir -p $(DIST)etc/ecix
# Copy config and startup script
cp etc/init/* DIST/etc/init/.
cp etc/systemd/* DIST/etc/systemd/.
cp etc/ecix/* DIST/etc/ecix/.
rm -f DIST/etc/ecix/*.local.*

View file

@ -1 +1 @@
1.2.0
1.3.0

View file

@ -0,0 +1,6 @@
[Unit]
Wants=birdwatcher4.service birdwatcher6.service
[Install]
WantedBy=multi-user.target

View file

@ -0,0 +1,11 @@
[Unit]
Description=Birdwatcher (IPv4)
After=network.target
[Service]
ExecStart=/opt/ecix/birdwatcher/bin/birdwatcher-linux-amd64
[Install]
WantedBy=multi-user.target

View file

@ -0,0 +1,11 @@
[Unit]
Description=Birdwatcher (IPv6)
After=network.target
[Service]
ExecStart=/opt/ecix/birdwatcher/bin/birdwatcher-linux-amd64 -6
[Install]
WantedBy=multi-user.target