EliasSchriefer
a453d785f5
The unit file is only for debugging purposes. The Makefile is used to install (link --runtime), start, stop, and restart the service, and to see the output (journalctl)
19 lines
403 B
Makefile
19 lines
403 B
Makefile
install-debug:
|
|
@sudo systemctl --runtime link sfsmcd/sfsmc-debug@.service
|
|
.PHONY: install-debug
|
|
|
|
journalctl:
|
|
@journalctl -efSnow -usfsmc-debug@$$(cd ..; pwd) -ocat
|
|
.PHONY: journalctl
|
|
|
|
start:
|
|
@sudo systemctl start sfsmc-debug@$$(cd ..; pwd)
|
|
.PHONY: start
|
|
|
|
stop:
|
|
@sudo systemctl stop sfsmc-debug@$$(cd ..; pwd)
|
|
.PHONY: stop
|
|
|
|
restart:
|
|
@sudo systemctl restart sfsmc-debug@$$(cd ..; pwd)
|
|
.PHONY: restart |