smack.service: provide [Install] section in systemd unit file.
authorAuke Kok <auke-jan.h.kok@intel.com>
Wed, 24 Oct 2012 18:30:51 +0000 (11:30 -0700)
committerAuke 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

index 2b689a5..f58e997 100644 (file)
@@ -9,3 +9,6 @@ After=basic.target
 ExecStart=/usr/bin/smackctl apply
 ExecStop=/usr/bin/smackctl clear
 RemainAfterExit=yes
+
+[Install]
+WantedBy=basic.target