mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +00:00
15c69058bb
Install orbit to /opt instead of /var/lib. When installing to /var/lib, the default selinux context of var_lib_t gets applied, which results in an AVC error when running via systemd. Co-authored-by: Lucas Rodriguez <lucas@fleetdm.com>
7 lines
235 B
Bash
7 lines
235 B
Bash
#!/usr/bin/env bash
|
|
|
|
sudo systemctl stop orbit.service
|
|
sudo systemctl disable orbit.service
|
|
|
|
sudo rm -rf /var/lib/orbit /opt/orbit /var/log/orbit /usr/local/bin/orbit /etc/default/orbit /usr/lib/systemd/system/orbit.service /opt/orbit
|