-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Jesssullivan/devel
+ systemd service & setup script, consolidated xbase depends.
- Loading branch information
Showing
3 changed files
with
62 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/bash | ||
# Forceful server controls for chrome remote desktop. | ||
# @ https://github.com/Jesssullivan/chrome-remote-desktop-budgie | ||
# @ https://transscendsurvival.org/ | ||
|
||
# permiss: | ||
# sudo chmod u+x addsystemd.sh | ||
|
||
# run: | ||
# sudo ./addsystemd.sh | ||
|
||
|
||
if [[ $EUID -ne 0 ]]; then | ||
|
||
echo "sudo is required to add crd_remote.service to systemd, aborting." | ||
|
||
exit 1 | ||
|
||
fi | ||
|
||
echo "copying service to /etc/systemd/system/crd_remote.service..." | ||
|
||
cp -R crd_remote.service /etc/systemd/system/crd_remote.service | ||
|
||
echo "permissing service...." | ||
|
||
chmod 644 /etc/systemd/system/crd_remote.service | ||
|
||
echo "starting service...." | ||
|
||
systemctl start crd_remote | ||
|
||
echo "checking service...." | ||
|
||
systemctl status crd_remote >/dev/null | ||
|
||
echo "done." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters