Skip to content

Instantly share code, notes, and snippets.

@gingerbeardman
Last active October 11, 2024 15:25
Show Gist options
  • Save gingerbeardman/1ff95ce64a6a255919b8262dd4a21bc7 to your computer and use it in GitHub Desktop.
Save gingerbeardman/1ff95ce64a6a255919b8262dd4a21bc7 to your computer and use it in GitHub Desktop.
Git Pull watcher service, /etc/systemd/system/git-pull-watcher.service
[Unit]
Description=Git Pull Watcher Service
After=docker.service
[Service]
ExecStart=/opt/webserver/git_pull_watcher.sh
Restart=always
User=root
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment