fixing systemd unit

This commit is contained in:
brent s 2017-05-06 07:17:47 -04:00
parent 83ee6d51ef
commit b7ef1d5ea3
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
run_hook () { run_hook () {
msg ":: Starting AIF-NG..." msg ":: Starting AIF-NG..."
/usr/bin/aifclient & /usr/bin/aif &
#nohup /usr/bin/aifclient & #nohup /usr/bin/aif &
#disown -h %1 #disown -h %1
} }



View File

@ -1,6 +1,6 @@
buid() { buid() {
add_binary "/usr/bin/python" add_binary "/usr/bin/python"
add_binary "/usr/bin/aifclient" add_binary "/usr/bin/aif"


add_runscript add_runscript
} }

View File

@ -4,7 +4,7 @@ After=network.target


[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=/usr/bin/aifclient ExecStart=/usr/bin/aif


[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target