[Unit] Description=Runs GHE Secret Monitor Wants=ghe_secret_monitor.timer [Service] Type=oneshot ExecStart=/usr/bin/git pull origin ExecStart=/home/ec2-user/anaconda3/bin/python scripts/ghe_secret_monitor.py WorkingDirectory=/home/ec2-user/rusty-hog User=ec2-user Group=ec2-user Environment='PATH=/root/anaconda3/bin:/root/anaconda3/condabin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/root/.local/bin:/root/bin:/root/.local/bin:/root/bin' Environment=GHE_REPO_TOKEN= Environment=INSIGHTS_INSERT_KEY= Environment=SSH_KEY_PATH= Environment=INSIGHTS_ACCT_ID= Environment=GHE_DOMAIN= Environment=CHOCTAW_HOG_PATH=musl_releases/choctaw_hog [Install] WantedBy=multi-user.target