Commit 61bdf768 authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
Browse files

zram-generator: use systemd-zram-setup@zram0 handler

Restarting doesn't apply configuration changes; instead we
can restart systemd-zram-setup@zram0 which seems to do what we wanted.
parent 6fe57bc7
......@@ -19,5 +19,5 @@
- name: restart syslog-ng
service: name=syslog-ng@default state=restarted
- name: restart
service: state=restarted daemon_reload=yes
- name: restart systemd-zram-setup@zram0
service: name=systemd-zram-setup@zram0 state=restarted daemon_reload=yes
......@@ -141,7 +141,7 @@
- name: install zram-generator config for zram
copy: src=zram-generator.conf dest=/etc/systemd/zram-generator.conf owner=root group=root mode=0644
- restart
- restart systemd-zram-setup@zram0
when: enable_zram_swap
- name: start systemd-oomd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment