Created
April 3, 2025 07:10
-
-
Save alanorth/3847aa5cde1eb4b2a6fc420716d425a5 to your computer and use it in GitHub Desktop.
~/.config/systemd/user/ooniprobe-run.service
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
[Unit] | |
Description=Run ooniprobe | |
[Service] | |
# https://www.ctrl.blog/entry/systemd-service-hardening.html | |
ProtectHome=read-only | |
ProtectKernelTunables=true | |
ProtectSystem=strict | |
PrivateDevices=true | |
PrivateTmp=true | |
ReadWritePaths=-/home/aorth/.ooniprobe | |
ExecStart=/usr/bin/ooniprobe run |
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
[Unit] | |
Description=Run ooniprobe | |
[Timer] | |
OnCalendar=*-*-* 00:00:00 | |
Persistent=true | |
# Add a random delay of 0–3600 seconds | |
RandomizedDelaySec=3600 | |
[Install] | |
WantedBy=timers.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment