Removing run creation from init script. (It would dissappear after reboot

any way, it is better in the init script.
This commit is contained in:
sergiotarxz 2021-11-14 01:26:36 +01:00
parent 590b56e610
commit 799944ac02

View File

@ -1,9 +1,7 @@
#!/usr/bin/env bash
if ! getent passwd cualsea &> /dev/null; then
sudo useradd -m cualsea -d /var/lib/cualsea -s /bin/bash &&
sudo mkdir /run/cualsea &&
sudo chown cualsea:cualsea /run/cualsea/
sudo useradd -m cualsea -d /var/lib/cualsea -s /bin/bash
fi
current_dir=$(dirname $(realpath $0));
cd $current_dir/cualsea-lib &&