aboutsummaryrefslogtreecommitdiffstats
path: root/clfs/units/mysqld.service
diff options
context:
space:
mode:
Diffstat (limited to 'clfs/units/mysqld.service')
-rw-r--r--clfs/units/mysqld.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/clfs/units/mysqld.service b/clfs/units/mysqld.service
new file mode 100644
index 0000000..3b81725
--- /dev/null
+++ b/clfs/units/mysqld.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=MySQL Server
+After=network.target
+
+[Service]
+User=mysql
+Group=mysql
+ExecStart=/usr/sbin/mysqld --pid-file=/run/mysqld/mysqld.pid
+Restart=always
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target