Skip to content

Commit

Permalink
Merge pull request #7350 from freedomofpress/stg-systemd-oneshot
Browse files Browse the repository at this point in the history
Switch systemd units to use Type=exec instead of Type=oneshot
  • Loading branch information
cfm authored Nov 25, 2024
2 parents be908a7 + a52e71a commit 007fb0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
Description=Cleanup OSSEC diff queue

[Service]
Type=oneshot
Type=exec
ExecStart=/usr/bin/securedrop-cleanup-ossec.py
User=root
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
Description=Touch /var/run/reboot-required file

[Service]
Type=oneshot
Type=exec
ExecStart=/usr/bin/touch /var/run/reboot-required
User=root
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ConditionPathExists|=/usr/sbin/ufw
ConditionPathExists|=/usr/sbin/haveged

[Service]
Type=oneshot
Type=exec
Environment="DEBIAN_FRONTEND=noninteractive"
ExecStart=/usr/bin/apt-get purge --yes ufw haveged
User=root

0 comments on commit 007fb0c

Please sign in to comment.