From b7ef1d5ea3f877de55c3e41b64ff5fa03b886c15 Mon Sep 17 00:00:00 2001 From: brent s Date: Sat, 6 May 2017 07:17:47 -0400 Subject: [PATCH] fixing systemd unit --- extras/mkinitcpio.hook | 4 ++-- extras/mkinitcpio.install | 2 +- extras/systemd.unit | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extras/mkinitcpio.hook b/extras/mkinitcpio.hook index 2c12284..dd7f755 100644 --- a/extras/mkinitcpio.hook +++ b/extras/mkinitcpio.hook @@ -1,7 +1,7 @@ run_hook () { msg ":: Starting AIF-NG..." - /usr/bin/aifclient & - #nohup /usr/bin/aifclient & + /usr/bin/aif & + #nohup /usr/bin/aif & #disown -h %1 } diff --git a/extras/mkinitcpio.install b/extras/mkinitcpio.install index d48c528..45e3672 100644 --- a/extras/mkinitcpio.install +++ b/extras/mkinitcpio.install @@ -1,6 +1,6 @@ buid() { add_binary "/usr/bin/python" - add_binary "/usr/bin/aifclient" + add_binary "/usr/bin/aif" add_runscript } diff --git a/extras/systemd.unit b/extras/systemd.unit index cbc51a2..6ff44d9 100644 --- a/extras/systemd.unit +++ b/extras/systemd.unit @@ -4,7 +4,7 @@ After=network.target [Service] Type=oneshot -ExecStart=/usr/bin/aifclient +ExecStart=/usr/bin/aif [Install] WantedBy=multi-user.target