mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
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:
parent
9d56770976
commit
2efaae3743
2 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
[ -r conf ] && . ./conf
|
[ -r conf ] && . ./conf
|
||||||
|
mkdir -p /run/soju
|
||||||
|
chown _soju:_soju /run/soju
|
||||||
exec chpst -u _soju soju ${OPTS}
|
exec chpst -u _soju soju ${OPTS}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'soju'
|
# Template file for 'soju'
|
||||||
pkgname=soju
|
pkgname=soju
|
||||||
version=0.9.0
|
version=0.9.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="codeberg.org/emersion/soju"
|
go_import_path="codeberg.org/emersion/soju"
|
||||||
go_package="./cmd/... ./contrib/..."
|
go_package="./cmd/... ./contrib/..."
|
||||||
|
|
Loading…
Add table
Reference in a new issue