soju: create /run/soju on startup

The default configuration file now contains

	listen unix+admin://

which defaults to /run/soju/admin, the directory thus needs to exist.
This commit is contained in:
Karel Balej 2025-04-12 22:05:45 +02:00 committed by classabbyamp
parent 9d56770976
commit 2efaae3743
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,6 @@
#!/bin/sh
exec 2>&1
[ -r conf ] && . ./conf
mkdir -p /run/soju
chown _soju:_soju /run/soju
exec chpst -u _soju soju ${OPTS}

View file

@ -1,7 +1,7 @@
# Template file for 'soju'
pkgname=soju
version=0.9.0
revision=2
revision=3
build_style=go
go_import_path="codeberg.org/emersion/soju"
go_package="./cmd/... ./contrib/..."