...
 
Commits (1)
  • Rob Swindell's avatar
    Shouldn't need to call setcap here (it's a build target now) · 5f6421ca
    Rob Swindell authored
    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
    5f6421ca
......@@ -21,7 +21,7 @@ Environment=SBBSROOT=/sbbs SBBSCTRL=/sbbs/ctrl
User=sbbs
Group=sbbs
PermissionsStartOnly=true
ExecStartPre=/sbin/setcap 'cap_net_bind_service=+ep' /sbbs/src/sbbs3/gcc.linux.*.exe.*/sbbs
# ExecStartPre=/sbin/setcap 'cap_net_bind_service=+ep' /sbbs/src/sbbs3/gcc.linux.*.exe.*/sbbs
ExecStart=/sbbs/exec/sbbs d
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
......