Create selinux context for systemd script?
Solution 1:
Move your script out of the user's home directory. SELinux rightly complains about trying to execute system services located in users' home directories.
Use a more standard location, such as /usr/local/bin
:
install -m755 /root/scripts/mybackupscript.sh /usr/local/bin
And of course edit the unit file to match.
ExecStart=/usr/local/bin/mybackupscript.sh