[SOLVED]: antiX 22 Core: How to send connman events to /var/log/runit/connman?

Forum Forums Official Releases antiX-21/22 “Grup Yorum” [SOLVED]: antiX 22 Core: How to send connman events to /var/log/runit/connman?

Tagged: ,

  • This topic has 3 replies, 2 voices, and was last updated Jan 23-9:24 pm by anticapitalista.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #98101
    Member
    techore

      After installing connman package on antiX 22 Core, connman sends all of its events to tty. In comparison, connman on antiX base sends events to a file /var/log/runit/connman.

      How do I duplicate the base connman or runit configuration on Core to write connman events to /var/log/runit/connman not tty?

      • This topic was modified 3 months, 2 weeks ago by techore.
      • This topic was modified 3 months, 2 weeks ago by techore.
      Attachments:
      #98114
      Forum Admin
      anticapitalista
        Helpful
        Up
        1
        ::
        #!/bin/sh
        set -e
        
        NAME=connman
        LOG="/var/log/runit/$NAME"
        
        test -d "$LOG" || mkdir "$LOG"
        exec chpst svlogd -tt "$LOG"

        Copy the above into a text file and name run
        Make it executable
        make a directory in /etc/sv/connman calle log
        Copy above file there.

        Philosophers have interpreted the world in many ways; the point is to change it.

        antiX with runit - leaner and meaner.

        #98122
        Member
        techore
          Helpful
          Up
          0
          ::

          Awesome possum. Worked perfectly!

          Thank you, anticapitalista.

          Learned something new about runit. Neat.

          #98127
          Forum Admin
          anticapitalista
            Helpful
            Up
            0
            ::

            Glad to help.

            runit has been my favourite init on antiX for a while now.
            Its beauty is in its simplicity IMO..
            It is not necessarily faster or lighter (on RAM) than sysVinit (though it appears to be so on my setup)

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.