Created
November 12, 2017 02:05
-
-
Save Mnkai/488f0abd7c80d2e87f6d734c23f55a4c to your computer and use it in GitHub Desktop.
Pacman compatible libalpm hook for stopping mastodon service before transaction
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
[Trigger] | |
Operation = Upgrade | |
Type = Package | |
Target = imagemagick | |
Target = ffmpeg | |
Target = protobuf | |
Target = nginx | |
Target = redis | |
Target = postgresql | |
Target = nodejs | |
Target = yarn | |
Target = ruby | |
[Action] | |
Description = Stopping Mastodon before bundle building... | |
When = PreTransaction | |
Exec = /usr/bin/systemctl stop 'mastodon-*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment