Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harden systemd user unit for ActivityWatch #7

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

jackdbd
Copy link
Owner

@jackdbd jackdbd commented Dec 21, 2023

This addresses #3 and #4.

For a quick report on the security of all systemd user units available on a system, run:

systemd-analyze security --user

For a detailed report on the security of the systemd user unit activitywatch.service, run:

systemd-analyze security --user activitywatch.service

Copy link

changeset-bot bot commented Dec 21, 2023

⚠️ No Changeset found

Latest commit: f043877

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@jackdbd
Copy link
Owner Author

jackdbd commented Dec 21, 2023

Regarding this issue...

system-tray

...I thought I could wait a few seconds before starting aw-qt, as it's done in the borgmatic systemd user unit.
I tried adding this to the systemd unit, but it didn't work.:

# Delay start so the system tray becomes available
ExecStartPre = "${pkgs.coreutils}/bin/sleep 30s";

For now I am ok with having to click that annoying dialog, since ActivityWatch is otherwise working fine.

Related:

@jackdbd jackdbd merged commit 2a209c0 into main Dec 21, 2023
1 check passed
@jackdbd jackdbd deleted the activitywatch-home-manager branch December 21, 2023 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant