Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Services | MariaDB: Switch to "mariadb" systemd service on Stretch+ #2196

Merged
merged 7 commits into from
Oct 29, 2018

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Oct 28, 2018

Status: Ready
🈯️ VM Stretch
🈯️ VM Jessie

  • Inform user on update
  • Check process_tool
  • Adjust manual MariaDB service starts within scripts
  • Changelog

Something I wanted to do already a long time. I don't like the obsolete init.d service to be used, which runs 3 background processes instead of 1. I manually switch the dietpi-services string after every update currently on my production system 🤣.

  • The started daemon binary is exactly the same "mysqld", so also nothing needs to be changed about process_tool settings etc.

Commit list/description:

  • DietPi-Services | MariaDB: Switch to "mariadb" systemd service on Stretch+, replace by "mysql" init.d service on Jessie only
  • DietPi-Patch | MariaDB: Inform user that dietpi-services starts "mariadb" systemd service on Stretch+ from now on
  • DietPi-Process_tool | Remove "MySql" process name, since "mysqld" is MariaDB on all supported Debian versions
  • DietPi-Create_MySQL_DB | Start "mariadb" systemd service on Stretch+
  • DietPi-Software | Start "mariadb" systemd service on Stretch+ instead of "mysql" init.d service

+ DietPi-Services | MariaDB: Switch to "mariadb" systemd service on Stretch+, replace by "mysql" init.d service on Jessie only
@MichaIng MichaIng added this to the v6.18 milestone Oct 28, 2018
@MichaIng MichaIng self-assigned this Oct 28, 2018
+ DietPi-Patch | MariaDB: Inform user that dietpi-services starts "mariadb" systemd service on Stretch+ from now on
+ DietPi-Process_tool | Remove "MySql" process name, since "mysqld" is MariaDB on all supported Debian versions
+ DietPi-Create_MySQL_DB | Start "mariadb" systemd service on Stretch+
+ DietPi-Software | Start "mariadb" systemd service on Stretch+ instead of "mysql" init.d service
+ CHANGELOG | Use "mariadb" service instead of "mysql"
+ DietPi-Software | MariaDB: Also "restart" new distro based MariaDB service
@Fourdee
Copy link
Collaborator

Fourdee commented Oct 29, 2018

@MichaIng

Something I wanted to do already a long time. I don't like the obsolete init.d service to be used, which runs 3 background processes instead of 1.

👍

Copy link
Collaborator

@Fourdee Fourdee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, looks good, will merge 👍

@Fourdee Fourdee merged commit 4256b3d into dev Oct 29, 2018
@Fourdee Fourdee mentioned this pull request Nov 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants