forked from extern/nix-config
Makefile: Add systemd-enable-now target
This commit is contained in:
parent
6d4c594b1a
commit
082f64f763
11
Makefile
11
Makefile
@ -37,3 +37,14 @@ uninstall:
|
||||
.PHONY: prune
|
||||
prune:
|
||||
@$(call ${NS_STOW_COMMAND},R)
|
||||
|
||||
# ========================
|
||||
# ======= systemd ========
|
||||
# ========================
|
||||
|
||||
NS_SYSTEMD_SERVICES := ssh-agent urxvtd mpd
|
||||
|
||||
.PHONY: systemd-enable-now
|
||||
systemd-enable-now:
|
||||
@$(foreach service,${NS_SYSTEMD_SERVICES},systemctl --user enable --now ${service}.service;)
|
||||
@echo "SUCCESS: Enabled the following services: ${NS_SYSTEMD_SERVICES}"
|
||||
|
Loading…
Reference in New Issue
Block a user