Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
example of Makefile
DIR=$(HOME)/.name_day/
SERVICE_FILE=my_application.service
SERVICE_DIR=/lib/systemd/system/$(SERVICE_FILE)
install:
mkdir -p $(DIR)
cp ./$(SERVICE_FILE) $(SERVICE_DIR)
systemctl daemon-reload
start:
systemctl start $(SERVICE_FILE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment