-
mns
I want to restart a jail only if 'pkg -r /usr/local/containers/jail_name upgrade' actually did an upgrade. If there was nothing to upgrade, then don't restart the jail. But pkg return 0 even if there was nothing to do. Is there some other test I can perform?
-
ek
mns: pkg will return 0 if it runs without error. Weather there is or is not an upgrade, it should finish successfully and return 0.
-
ek
You'll probably need to parse the output of the command for certain results to kick off a restart.
-
mns
ek: yeah I ended up doing something like: pkg -r ${j} upgrade | grep -q "Upgrading" && service jail restart ${j##*/}
-
ek
mns: That'll work!
-
oxbar
Any word off FreeBSD on m1 Mac’s ?
-
oxbar
Of*
-
rtprio
-
ApOgEE
hello
-
ApOgEE
anyone still using irc these days?
-
ApOgEE
haha
-
ivy
ApOgEE: IRC is the primary real-time chat system for freebsd, so yes.
-
r0ni
wait till you guys see how active the discord is
-
ivy
r0ni: sure, if you're after shitposting and people who think "OMG FUCK YOU YOU FUCKER!!" is a good method of communication. traffic in the actual on-topic channels, i'd say it's about even at best
-
ApOgEE
nice to know that ivy
-
ApOgEE
i thought irc is dead
-
r0ni
i'm no fan of discord either, but it's clearly the place where the conversation is
-
ivy
in general, sure, for freebsd, i disagree. there's a lot of people talking on the freebsd discord but they mostly aren't saying anything useful
-
ivy
freebsd discussion takes places here, and in places like #bsdmips and #bsddocs on efnet
-
ApOgEE
is there any wifi driver yet for freebsd on raspberrypi?
-
r0ni
ApOgEE: no
-
Zerock
does anyone here have galene working on freebsd? I notice the foundation just put out a guide for it a week ago, but this package seems to be broken - it's missing static files needed for the web UI
-
Zerock
either that or it's supposed to create those files and the permissions are misconfigured by default
-
rtprio
how frequently do pkgbase drop for 15? is that a thing?
-
hubertm
is it possible to browse current ports somewhere ...the actual source files, not just Makefile & pkg-descr
-
jauntyd
hubertm: if you follow this guide:
docs.freebsd.org/en/books/handbook/ports/#ports-using it will show you how to install the source files on your local machine so you can browse them
-
hubertm
jauntyd: i just don't understand how i have installed ports to one system because there's no git and no portsnaps... and therefore no idea how to update the tree
-
TommyC
hubertm: Not sure how portsnap is missing but maybe you installed ports during the initial installation?
-
rtprio
hubertm: pkg install git; git clone
git.freebsd.org/ports.git
-
zilti
Does it make sense, performance-wise, to separately mount certain NFS4 shares? E.g. to mount /data/postgresql, and mount /data/storage instead of just mounting /data?
-
rtprio
you're putting your database on nfs?
-
rtprio
is it just too fast when you run it on local disk?