summarylogtreecommitdiffstats
path: root/ryzenctrl-root.service.install
diff options
context:
space:
mode:
Diffstat (limited to 'ryzenctrl-root.service.install')
-rw-r--r--ryzenctrl-root.service.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/ryzenctrl-root.service.install b/ryzenctrl-root.service.install
new file mode 100644
index 000000000000..f726a663f1da
--- /dev/null
+++ b/ryzenctrl-root.service.install
@@ -0,0 +1,12 @@
+post_install() {
+ systemctl start ryzenctrl-root.service
+ systemctl enable ryzenctrl-root.service
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ systemctl stop ryzenctrl-root.service
+}