This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add to {mysqld,mariadb}.service file | |
| ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mariadb | |
| # OR | |
| RuntimeDirectory=mariadb | |
| RuntimeDirectoryMode=755 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum install -y policycoreutils-python | |
| semanage fcontext -a -t mysqld_db_t "/var/run/mariadb(/.*)?" && restorecon -Rv "/var/run/mariadb" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import urllib | |
| import urlparse | |
| import oauth2 as oauth | |
| import json | |
| consumer_key="consumer_key" | |
| consumer_secret="consumer_secret" | |
| access_token_url = 'http://www.tumblr.com/oauth/access_token' |
NewerOlder