forked from p15670423/monkey
Deploy: Set `umask 077` before deploying systemd unit
This commit is contained in:
parent
f42a3bdaad
commit
3aa6d4a119
|
@ -39,6 +39,7 @@ ExecStart="${MONKEY_BIN}/${APPIMAGE_NAME}"
|
|||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
||||
umask 077
|
||||
sudo mv "${SCRIPT_DIR}/${SYSTEMD_UNIT_FILENAME}" "${SYSTEMD_DIR}/${SYSTEMD_UNIT_FILENAME}"
|
||||
sudo systemctl enable "${SYSTEMD_UNIT_FILENAME}" &>/dev/null
|
||||
|
||||
|
|
Loading…
Reference in New Issue