[Unit] Description=Runs JIRA + GDrive Secret Scanner scan Wants=jira_secret_scanner.timer [Service] Type=oneshot ExecStart=/usr/bin/git pull origin ExecStart=/home/ec2-user/anaconda3/bin/python jira_secret_scanner.py WorkingDirectory=/home/ec2-user/secret_scanner 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=INSIGHTS_INSERT_KEY= Environment=INSIGHTS_ACCT_ID= Environment=JIRA_TOKEN= Environment=ANKAMALI_HOG_PATH=./ankamali_hog [Install] WantedBy=multi-user.target