2023-03-29 16:57:19 +00:00
|
|
|
#!/bin/bash
|
2023-03-26 00:54:48 +00:00
|
|
|
|
|
|
|
set -e
|
2023-03-29 16:57:19 +00:00
|
|
|
|
|
|
|
id -u soundfx &>/dev/null || useradd -r -M soundfx
|
|
|
|
|
2023-03-26 00:54:48 +00:00
|
|
|
if [ ! -f /etc/soundfx-rs/config.env ]; then
|
|
|
|
cp /etc/soundfx-rs/default.env /etc/soundfx-rs/config.env
|
|
|
|
fi
|
|
|
|
|
2023-03-29 16:57:19 +00:00
|
|
|
chown soundfx /etc/soundfx-rs/config.env
|
|
|
|
|
2023-03-26 00:54:48 +00:00
|
|
|
#DEBHELPER#
|