Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Owain Jones
gliders-webserver
Commits
0019767b
Commit
0019767b
authored
9 years ago
by
Gliders User
Browse files
Options
Download
Plain Diff
Merge branch 'master' of gitlab.noc.soton.ac.uk:owanes/gliders-webserver
parents
cf63374e
66f3dcf7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
glidersbackup.service
glidersbackup.service
+11
-0
glidersbackup.timer
glidersbackup.timer
+9
-0
php-d-fpm.ini
php-d-fpm.ini
+1
-0
No files found.
glidersbackup.service
0 → 100644
View file @
0019767b
[Unit]
Description
=
Back up gliders database from main server
[Service]
User
=
mysql
Type
=
simple
ExecStartPre
=
/usr/bin/ssh -f -L3310:mars.noc.ac.uk:3306 gliders@mars.noc.ac.uk -N
ExecStart
=
/usr/bin/bash -c "mysqldump -P 3310 -ugliders -p`cat ~/.gliders.password` gliders | gzip -9 > /local/mysql_backup/gliders.sql.gz"
[Install]
WantedBy
=
timers.target
This diff is collapsed.
Click to expand it.
glidersbackup.timer
0 → 100644
View file @
0019767b
[Unit]
Description=Back up gliders database from main server
[Timer]
OnBootSec=24h
OnUnitActiveSec=24h
[Install]
WantedBy=timers.target
This diff is collapsed.
Click to expand it.
php-d-fpm.ini
View file @
0019767b
...
...
@@ -3,3 +3,4 @@ date.timezone = 'UTC'
apc.shm_size
=
256M
upload_max_filesize
=
8M
post_max_size
=
9M
memory_limit
=
256M
This diff is collapsed.
Click to expand it.
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