Skip to content

Commit ff3ec8f

Browse files
committed
Move Mullvad Browser download script to own directory
1 parent 55f1f35 commit ff3ec8f

4 files changed

+31
-0
lines changed

Diff for: ci/mullvad-browser/download-mullvad-browser.service

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# To install this do the following:
2+
#
3+
# * Create a directory for the browser GPG keyring (used to verify downloaded artifacts)
4+
# * Import the key there: `GNUPGHOME=/the/gpg/home gpg --import ./tor-browser-developers-signing-key.asc`
5+
# * Copy this service file and corresponding timer file to ~/.config/systemd/user
6+
# * Edit `Environment` below to point `GNUPGHOME` to the path you created above
7+
# * Edit `ExecStart` path to point to absolute path to download script
8+
# * Reload systemd: `systemctl --user daemon-reload`
9+
# * Start the timer: `systemctl --user enable --now download-mullvad-browser.timer`
10+
11+
[Unit]
12+
Description=Mullvad Browser download service
13+
14+
[Service]
15+
Type=oneshot
16+
Environment="GNUPGHOME=..."
17+
ExecStart=./download-mullvad-browser.sh
18+
19+
[Install]
20+
WantedBy=multi-user.target
File renamed without changes.

Diff for: ci/mullvad-browser/download-mullvad-browser.timer

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Unit]
2+
Description=Run Mullvad Browser download service periodically
3+
Requires=build-linux-repositories@.service
4+
5+
[Timer]
6+
# Run every fifteen minutes
7+
OnCalendar=*:0,15,30,45
8+
Persistent=true
9+
10+
[Install]
11+
WantedBy=timers.target

0 commit comments

Comments
 (0)