Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
be6e34e7
authored
Mar 16, 2017
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
automated scripts added
parent
bae67b3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
sails/cron/crontab
sails/cron/renewcerts.sh
sails/cron/crontab
0 → 100644
View file @
be6e34e7
@reboot /home/ubuntu/pictogram/sails/bootstrap.sh
# Let's encrypt certs autorenew
@monthly /home/ubuntu/cron/renewcerts.sh
# AWS Volume backups
@daily /home/ubuntu/cron/aws-missing-tools/ec2-automate-backup/ec2-automate-backup.sh -c /home/ubuntu/cron/cron-primer.sh -v vol-0cd5c496 -k 30 -p -u
sails/cron/renewcerts.sh
0 → 100644
View file @
be6e34e7
#!/bin/bash
# Renew certs
/home/ubuntu/letsencrypt/letsencrypt-auto
--config
/etc/letsencrypt/cli.ini
-d
login.pictogramweb.com
-d
api.pictogramweb.com
-d
app.pictogramweb.com
-d
pre.yottacode.com
-d
pictogram.yottacode.com
-d
apk.pictogramweb.com certonly
# Reload Sails
(
cd
/home/ubuntu/pictogram/sails/src
;
/usr/bin/forever stopall
;
/usr/bin/forever start app.js
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment