Externalize zram role
This commit is contained in:
commit
4a1e6c8cb3
3 changed files with 104 additions and 0 deletions
14
files/etc/systemd/system/zram-config.service
Normal file
14
files/etc/systemd/system/zram-config.service
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=ZRAM Swap
|
||||
#After=syslog.target NetworkManager.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/sbin/zram-swap.sh start
|
||||
ExecStop=/usr/local/sbin/zram-swap.sh stop
|
||||
#KillMode=process
|
||||
#Restart=off
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue