mirror of
https://gitlab.steamos.cloud/frame-public/frame-developer-tools.git
synced 2026-10-28 13:02:59 +01:00
Fix ln error when using perfetto.sh
WARN: perfetto-traced service was not running, attempting to auto-install: ln: failed to create symbolic link '/etc/systemd/system/perfetto-traced.service': File exists Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
This commit is contained in:
1 parent
4203c60570
commit
63bf56e24c
1 file changed
+1
-1
@@ -24,7 +24,7 @@ fi
|
||||
# Ensure traced service is running, warn if not
|
||||
if ! systemctl is-active perfetto-traced; then
|
||||
echo "WARN: perfetto-traced service was not running, attempting to auto-install:" >&2
|
||||
sudo ln -sv ${SCRIPT_DIR}/perfetto-traced.service /etc/systemd/system/perfetto-traced.service
|
||||
sudo ln -sfv ${SCRIPT_DIR}/perfetto-traced.service /etc/systemd/system/perfetto-traced.service
|
||||
sudo systemctl enable --now perfetto-traced
|
||||
echo "NOTE: Workloads that were already started may not connect to perfetto correctly, you may need to restart them." >&2
|
||||
echo " The perfetto-traced service will automatically start upon boot, so this will persist through a reboot." >&2
|
||||
|
||||
Reference in new issue
Block a user