Skip to content

Commit

Permalink
Added startup script for A5P2
Browse files Browse the repository at this point in the history
  • Loading branch information
traptibalgi authored and traptibalgi committed Oct 5, 2024
1 parent 0903d19 commit 4696390
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions server/aesdsocket-start-stop.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/sh

case "$1" in
start)
echo "Starting aesdsocket"
start-stop-daemon -S -n aesdsocket -a /usr/bin/aesdsocket
;;
stop)
echo "Stopping aesdsocket"
start-stop-daemon -K -n aesdsocket
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac

exit 0

0 comments on commit 4696390

Please sign in to comment.