add task of copying user's systemd services to chroot script as pratham clearly doesn't have permissions
This commit is contained in:
parent
2b9c16d5a0
commit
3c8dd4126f
|
@ -91,6 +91,8 @@ echo "${ROOT_CRONTAB}" | crontab -
|
|||
|
||||
# copy dotfiles
|
||||
sudo -u pratham /chroot-scripts/doas-pratham.sh
|
||||
cp /home/pratham/my-git-repos/dotfiles/_OTHER/flameboi/etc/systemd/system/*.service /etc/systemd/system/
|
||||
rm -rf /home/pratham/my-git-repos/dotfiles
|
||||
|
||||
|
||||
################################################################################
|
||||
|
|
|
@ -17,10 +17,7 @@ rsync \
|
|||
--itemize-changes --checksum --perms \
|
||||
--exclude=".git" --exclude=".gitignore" --exclude="README.md" --exclude="run_me.sh" \
|
||||
../dotfiles/ ~/
|
||||
|
||||
cp -v _OTHER/flameboi/etc/systemd/system/*.service /etc/systemd/system/
|
||||
popd
|
||||
rm -rf dotfiles
|
||||
popd
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue