Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
# Source from https://github.com/capitalone/cloud-custodian/tree/master/tools/c7n_mailer | |
git clone https://github.com/capitalone/cloud-custodian | |
# Not mentioned in docs, you should run from the root of the repo | |
cd cloud-custodian | |
virtualenv c7n_mailer | |
source c7n_mailer/bin/activate | |
# In the README, it mentions to instead `cd c7n_mailer` but that goes to the virualenv environment, that has no requirements.txt |
2017/06/08 18:02:44 [INFO] Terraform version: 0.9.8 | |
2017/06/08 18:02:44 [INFO] Go runtime version: go1.8.3 | |
2017/06/08 18:02:44 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.9.8/bin/terraform", "apply"} | |
2017/06/08 18:02:44 [DEBUG] Detected home directory from env var: /myfolder | |
2017/06/08 18:02:44 [DEBUG] Detected home directory from env var: /myfolder | |
2017/06/08 18:02:44 [DEBUG] Attempting to open CLI config file: /myfolder/.terraformrc | |
2017/06/08 18:02:44 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2017/06/08 18:02:44 [INFO] CLI command args: []string{"apply"} | |
2017/06/08 18:02:44 [DEBUG] Detected home directory from env var: /myfolder | |
2017/06/08 18:02:44 [DEBUG] command: loading backend config file: /myfolder/ops/workspace/folder |
#!/bin/bash | |
# | |
# /etc/rc.d/init.d/teleport | |
# | |
# Daemonize the teleport agent. | |
# | |
# chkconfig: 2345 95 20 | |
# description: SSH Infrastructure for clusters and teams # processname: teleport | |
# pidfile: /var/run/teleport/pidfile |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
I hereby claim:
To claim this, I am signing this object:
https://github.com/ansible/ansible/releases.atom | |
https://github.com/ansible/molecule/releases.atom | |
https://github.com/ansible/ansible-lint/releases.atom | |
https://github.com/inspec/inspec/releases.atom | |
https://github.com/gravitational/teleport/releases.atom | |
https://github.com/hashicorp/consul/releases.atom | |
https://github.com/hashicorp/terraform/releases.atom | |
https://github.com/hashicorp/vault/releases.atom | |
https://github.com/runatlantis/atlantis/releases.atom | |
https://github.com/terraform-providers/terraform-provider-github/releases.atom |