14 lines
243 B
Bash
14 lines
243 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
id -u reminder &>/dev/null || useradd -r -M reminder
|
|
|
|
if [ ! -f /etc/reminder-rs/config.env ]; then
|
|
cp /etc/reminder-rs/default.env /etc/reminder-rs/config.env
|
|
fi
|
|
|
|
chown reminder /etc/reminder-rs/config.env
|
|
|
|
#DEBHELPER#
|