systemd / zram-generator

Systemd unit generator for zram devices
MIT License
584 stars 50 forks source link

Dashes are not escaped properly in unit names #101

Closed keszybz closed 3 years ago

keszybz commented 3 years ago
$ cat /run/systemd/zram-generator.conf.d/dev.conf   
[zram1]
max-zram-size=128
mount-point = /tmp/mount-point
$ sudo systemctl daemon-reload
$ ls /run/systemd/generator/tmp-mount-point.mount                       
/run/systemd/generator/tmp-mount-point.mount

This needs to be /run/systemd/generator/tmp-mount\x2dpoint.mount.