make the service the owner of that directory

This commit is contained in:
Cory Sanin 2025-04-30 21:41:24 -05:00
parent 7799de9d65
commit 1f328653f9

View File

@ -8,6 +8,7 @@ mkdir -p /opt/dinnerbell/ && \
chmod +x /opt/dinnerbell/dinnerbell.py && \
ln -sf /opt/dinnerbell/dinnerbell.py /usr/bin/dinnerbell && \
mkdir -p /etc/dinnerbell/audio/ && \
chown dinnerbell:dinnerbell /etc/dinnerbell/ && \
chmod 777 /etc/dinnerbell/audio/ && \
/usr/bin/cp "$SCRIPT_DIR"/dinnerbell.service /etc/systemd/system/dinnerbell.service && \
systemctl daemon-reload && \