Compare commits
3 commits
b6cfc84e86
...
22d92af61b
Author | SHA1 | Date | |
---|---|---|---|
22d92af61b | |||
67d6e77ccf | |||
6621459820 |
3 changed files with 6 additions and 3 deletions
|
@ -1,11 +1,8 @@
|
||||||
svc_systemd = {
|
svc_systemd = {
|
||||||
'swapfile-prepare.service': {
|
'swapfile-prepare.service': {
|
||||||
'enabled': True,
|
|
||||||
'running': None,
|
'running': None,
|
||||||
},
|
},
|
||||||
'swapfile.swap': {
|
'swapfile.swap': {
|
||||||
'enabled': True,
|
|
||||||
'running': True,
|
|
||||||
'needs': [
|
'needs': [
|
||||||
'svc_systemd:swapfile-prepare.service',
|
'svc_systemd:swapfile-prepare.service',
|
||||||
],
|
],
|
||||||
|
|
|
@ -6,6 +6,11 @@ defaults = {
|
||||||
'Swap': {
|
'Swap': {
|
||||||
'What': '/swapfile',
|
'What': '/swapfile',
|
||||||
},
|
},
|
||||||
|
'Install': {
|
||||||
|
'WantedBy': {
|
||||||
|
'swap.target',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -28,6 +28,7 @@ order = [
|
||||||
'Unit',
|
'Unit',
|
||||||
'Timer',
|
'Timer',
|
||||||
'Service',
|
'Service',
|
||||||
|
'Swap',
|
||||||
'Install',
|
'Install',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue