Notices by advokatt (km@mastodon.babb.no)
-
Embed this notice
advokatt (km@mastodon.babb.no)'s status on Thursday, 05-Dec-2024 05:02:55 JST advokatt -
Embed this notice
advokatt (km@mastodon.babb.no)'s status on Thursday, 05-Dec-2024 05:02:54 JST advokatt @solene @pkw guess tmuxinator could make this one a bit friendlier...
this is my startup script for cases when Xvnc is not cooperating with me, and I have to use Xvfb and x11vnc.
-
Embed this notice
advokatt (km@mastodon.babb.no)'s status on Wednesday, 04-Dec-2024 16:28:58 JST advokatt when needing to automatically start – and restart – some command on #OpenBSD, I often end up using `cron(8)` and `tmux(1)`, like this:
```
0 * * * * tmux list-sessions|grep -q foo||tmux new -d -s foo /some/command```
`-d` will start a detached session, and `-s name` will ensure only one session with that name will ever be started