Skip to content

Commit 2cf68aa

Browse files
author
Hendry, Adam
committed
fix(entrypoint.sh): replace systemctl
Use `service` as `systemctl` is not on GitHub Actions runners.
1 parent a1c8571 commit 2cf68aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if [[ $INPUT_GPG_SIGN == 'true' ]]; then
3535
EOT
3636
chmod 600 ~/.gnupg/*
3737
chmod 700 ~/.gnupg
38-
systemctl --user restart gpg-agent
38+
sudo service gpg-agent restart
3939
else
4040
gpg-agent --daemon --allow-preset-passphrase \
4141
--default-cache-ttl 60 --max-cache-ttl 60

0 commit comments

Comments
 (0)