Browse Source

include restart in uasv init service, more games

typed_gg
user439219 3 months ago
parent
commit
401e9bc797
  1. BIN
      demos/2022-05-28/0
  2. BIN
      demos/2022-05-28/1
  3. BIN
      demos/2022-05-28/10
  4. BIN
      demos/2022-05-28/11
  5. BIN
      demos/2022-05-28/12
  6. BIN
      demos/2022-05-28/2
  7. BIN
      demos/2022-05-28/3
  8. BIN
      demos/2022-05-28/4
  9. BIN
      demos/2022-05-28/5
  10. BIN
      demos/2022-05-28/6
  11. BIN
      demos/2022-05-28/7
  12. BIN
      demos/2022-05-28/8
  13. BIN
      demos/2022-05-28/9
  14. BIN
      demos/2022-05-29/0
  15. BIN
      demos/2022-05-29/1
  16. BIN
      demos/2022-05-30/0
  17. BIN
      demos/2022-05-30/1
  18. BIN
      demos/2022-05-30/2
  19. 15
      utils/ultrono_init_service

BIN
demos/2022-05-28/0

Binary file not shown.

BIN
demos/2022-05-28/1

Binary file not shown.

BIN
demos/2022-05-28/10

Binary file not shown.

BIN
demos/2022-05-28/11

Binary file not shown.

BIN
demos/2022-05-28/12

Binary file not shown.

BIN
demos/2022-05-28/2

Binary file not shown.

BIN
demos/2022-05-28/3

Binary file not shown.

BIN
demos/2022-05-28/4

Binary file not shown.

BIN
demos/2022-05-28/5

Binary file not shown.

BIN
demos/2022-05-28/6

Binary file not shown.

BIN
demos/2022-05-28/7

Binary file not shown.

BIN
demos/2022-05-28/8

Binary file not shown.

BIN
demos/2022-05-28/9

Binary file not shown.

BIN
demos/2022-05-29/0

Binary file not shown.

BIN
demos/2022-05-29/1

Binary file not shown.

BIN
demos/2022-05-30/0

Binary file not shown.

BIN
demos/2022-05-30/1

Binary file not shown.

BIN
demos/2022-05-30/2

Binary file not shown.

15
utils/ultrono_init_service

@ -16,12 +16,15 @@ bin=/opt/ua/uasv # binary @@ -16,12 +16,15 @@ bin=/opt/ua/uasv # binary
who=the-controller # user
mawk_sb=/opt/uatv/utils/mawk_scoreboard # binary helper
start () {
cd "$dir" || exit 1
nice -n 20 su -c "$bin 15050 localhost 2>&1" "$who" |\
su -c "mawk -W interactive -f $mawk_sb" "$who" &
}
case "$1" in
start)
cd "$dir" || exit 1
nice -n 20 su -c "$bin 15050 localhost 2>&1" "$who" |\
su -c "mawk -W interactive -f $mawk_sb" "$who" &
start
;;
stop)
start-stop-daemon --stop --exec "$bin" --
@ -29,8 +32,12 @@ case "$1" in @@ -29,8 +32,12 @@ case "$1" in
status)
status_of_proc "uasv" "$name"
;;
restart)
start-stop-daemon --stop --exec "$bin" --
start
;;
*)
log_action_msg "Usage: $0 {start|stop|status}"
log_action_msg "Usage: $0 {start|stop|restart|status}"
;;
esac
exit 0

Loading…
Cancel
Save