Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ install:
@# Systemd init system
@if test "$(SYSTEMD)" = true; then \
echo "Installing systemd .service file"; \
install -Dm644 -t "$(LIB_DIR)/systemd/system/" grub-btrfsd.service; \
sed 's:@__BIN_DIR__@:$(BIN_DIR):g' grub-btrfsd.service > "$(TEMP_DIR)/grub-btrfsd.service"; \
install -Dm644 -t "$(LIB_DIR)/systemd/system/" "$(TEMP_DIR)/grub-btrfsd.service"; \
fi
@# OpenRC init system
@if test "$(OPENRC)" = true; then \
Expand Down
2 changes: 1 addition & 1 deletion grub-btrfsd.service
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ EnvironmentFile=/etc/default/grub-btrfs/config
# -l, --log-file Specify a logfile to write to
# -v, --verbose Let the log of the daemon be more verbose
# -s, --syslog Write to syslog
ExecStart=/usr/bin/grub-btrfsd --syslog /.snapshots
ExecStart=@__BIN_DIR__@/grub-btrfsd --syslog /.snapshots

[Install]
WantedBy=multi-user.target