projects
/
platform
/
upstream
/
smack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41d3b0d
)
smack.service: provide [Install] section in systemd unit file.
author
Auke Kok
<auke-jan.h.kok@intel.com>
Wed, 24 Oct 2012 18:30:51 +0000
(11:30 -0700)
committer
Auke Kok
<auke-jan.h.kok@intel.com>
Wed, 24 Oct 2012 18:30:51 +0000
(11:30 -0700)
With this addition, one can `systemctl --enable smack.service`
to enable smack.service and smack.mount at boot time.
init/smack.service
patch
|
blob
|
history
diff --git
a/init/smack.service
b/init/smack.service
index
2b689a5
..
f58e997
100644
(file)
--- a/
init/smack.service
+++ b/
init/smack.service
@@
-9,3
+9,6
@@
After=basic.target
ExecStart=/usr/bin/smackctl apply
ExecStop=/usr/bin/smackctl clear
RemainAfterExit=yes
+
+[Install]
+WantedBy=basic.target