adds advisory openrc/user-runlevel-default
This commit is contained in:
@@ -55,7 +55,7 @@ login_registry:
|
|||||||
podman login $(REGISTRY_DOMAIN)
|
podman login $(REGISTRY_DOMAIN)
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: install_service install_crontab
|
install: install_service install_crontab next_steps
|
||||||
|
|
||||||
.PHONY: uninstall
|
.PHONY: uninstall
|
||||||
uninstall: uninstall_service uninstall_crontab
|
uninstall: uninstall_service uninstall_crontab
|
||||||
@@ -88,6 +88,10 @@ uninstall_crontab:
|
|||||||
> crontab.tmp
|
> crontab.tmp
|
||||||
sudo mv crontab.tmp /etc/periodic/daily/joeac.net
|
sudo mv crontab.tmp /etc/periodic/daily/joeac.net
|
||||||
|
|
||||||
|
.PHONY: next_steps
|
||||||
|
next_steps:
|
||||||
|
@echo "Make sure that your user's default runlevel is triggered by OpenRC. If this isn't already happening, edit openrc/user-default-runlevel with your username, copy it to /etc/init.d, and add it to the system's default runlevel with \`rc-service add <SERVICE> default\`."
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(foreach module,$(MODULES),$(MAKE) --directory=$(module) clean;)
|
$(foreach module,$(MODULES),$(MAKE) --directory=$(module) clean;)
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
#!/sbin/openrc
|
||||||
|
|
||||||
|
description="start <USER> default runlevel"
|
||||||
|
command="openrc"
|
||||||
|
command_args="-U default"
|
||||||
|
command_user="<USER>"
|
||||||
Reference in New Issue
Block a user