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 = {
|
||||
'swapfile-prepare.service': {
|
||||
'enabled': True,
|
||||
'running': None,
|
||||
},
|
||||
'swapfile.swap': {
|
||||
'enabled': True,
|
||||
'running': True,
|
||||
'needs': [
|
||||
'svc_systemd:swapfile-prepare.service',
|
||||
],
|
||||
|
|
|
@ -6,6 +6,11 @@ defaults = {
|
|||
'Swap': {
|
||||
'What': '/swapfile',
|
||||
},
|
||||
'Install': {
|
||||
'WantedBy': {
|
||||
'swap.target',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -28,6 +28,7 @@ order = [
|
|||
'Unit',
|
||||
'Timer',
|
||||
'Service',
|
||||
'Swap',
|
||||
'Install',
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue