1
0
mirror of https://github.com/alice-lg/alice-lg.git synced 2024-05-11 05:55:03 +00:00
Benedikt Rudolph 41a17fe99f Consequent use of 'alice-lg' instead of 'alicelg'
Replace 'alicelg' on multiple occasions with 'alice-lg'.
* config and default config path
* README.md
* systemd unit, users, paths
* Makefile
2019-01-17 13:58:42 +01:00

16 lines
326 B
Bash

#!/bin/bash
#
# Alice Post Install Hook:
# Create the required user and set permissions
#
SERVICE=alice-lg
echo "[i] Post install $SERVICE"
echo "[i] Creating user and updating permissions"
useradd --system -d /opt/alice-lg/$SERVICE $SERVICE
echo "[i] Fixing permissions"
chown -R $SERVICE:$SERVICE /opt/alice-lg/$SERVICE