make the service the owner of that directory
This commit is contained in:
parent
7799de9d65
commit
1f328653f9
@ -8,6 +8,7 @@ mkdir -p /opt/dinnerbell/ && \
|
|||||||
chmod +x /opt/dinnerbell/dinnerbell.py && \
|
chmod +x /opt/dinnerbell/dinnerbell.py && \
|
||||||
ln -sf /opt/dinnerbell/dinnerbell.py /usr/bin/dinnerbell && \
|
ln -sf /opt/dinnerbell/dinnerbell.py /usr/bin/dinnerbell && \
|
||||||
mkdir -p /etc/dinnerbell/audio/ && \
|
mkdir -p /etc/dinnerbell/audio/ && \
|
||||||
|
chown dinnerbell:dinnerbell /etc/dinnerbell/ && \
|
||||||
chmod 777 /etc/dinnerbell/audio/ && \
|
chmod 777 /etc/dinnerbell/audio/ && \
|
||||||
/usr/bin/cp "$SCRIPT_DIR"/dinnerbell.service /etc/systemd/system/dinnerbell.service && \
|
/usr/bin/cp "$SCRIPT_DIR"/dinnerbell.service /etc/systemd/system/dinnerbell.service && \
|
||||||
systemctl daemon-reload && \
|
systemctl daemon-reload && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user