1
0
Fork 0

add task of copying user's systemd services to chroot script as pratham clearly doesn't have permissions

This commit is contained in:
Pratham Patel 2023-01-21 20:15:37 +05:30
parent 2b9c16d5a0
commit 3c8dd4126f
2 changed files with 2 additions and 3 deletions

View File

@ -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
################################################################################

View File

@ -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