• install/systemd/sbbs.service

    From rswindell@VERT to CVS commit on Fri Jan 31 07:05:46 2020
    install/systemd sbbs.service 1.1 1.2
    Update of /cvsroot/sbbs/install/systemd
    In directory cvs:/home/rswindell/sbbs/install/systemd

    Modified Files:
    sbbs.service
    Log Message:
    Use wildcards in setcap command so that non-x64 or non-release builds of
    sbbs have their capabilities set correctly with this setup.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Thu Sep 24 16:26:40 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/5f6421caf5988310b29182f3
    Modified Files:
    install/systemd/sbbs.service
    Log Message:
    Shouldn't need to call setcap here (it's a build target now)

    Left it there, but commented out, just in case anyone needs it later.
    But it was reported that the setcap line failed anyway:
    Sep 24 09:20:15 bbs setcap[21466]: Failed to set capabilities on file `/sbbs/repo/src/sbbs3/gcc.linux.*.exe.*/sbbs' (No such file or directory)
    Sep 24 09:20:15 bbs setcap[21466]: The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Dec 30 18:38:21 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/08a79895f3cab65209d3ef3b
    Modified Files:
    install/systemd/sbbs.service
    Log Message:
    Add instructions to use symlink and 'systemctl edit sbbs' for over-rides

    I think this addresses issue #403, at least in part.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Mon Jan 30 15:45:03 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/d84815e1562dd1168994d364
    Modified Files:
    install/systemd/sbbs.service
    Log Message:
    Add sudo to example command-lines (you have systemd, you probably have sudo)

    Add some handy tips too (querying status, monitoring log output)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Feb 25 15:24:57 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/1940895334c10313c036cd42
    Modified Files:
    install/systemd/sbbs.service
    Log Message:
    Start after network-online instead of just 'network.target'

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Sep 9 09:48:19 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/cc016c9b05ddb44bc11e389d
    Modified Files:
    install/systemd/sbbs.service
    Log Message:
    Change NotifyAccess from "main" to "all"

    sd_notify() is called from other threads (PIDs), so we've been getting
    syslog warnings abouts this and I hadn't noticed:

    systemd[1]: sbbs.service: Got notification message from PID 2555007, but reception only permitted for main PID which is currently not known

    As pointed out by Accession (PHARCYDE) on DOVE-Net.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net