Skip to content

Commit 91b91c3

Browse files
committed
Install systemd units to /usr/local/lib/systemd/system/ by default
1 parent 1104cba commit 91b91c3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ install:
77
install src/zfs-auto-snapshot.8 $(DESTDIR)$(PREFIX)/share/man/man8/zfs-auto-snapshot.8
88
install -d $(DESTDIR)$(PREFIX)/sbin
99
install src/zfs-auto-snapshot.sh $(DESTDIR)$(PREFIX)/sbin/zfs-auto-snapshot
10-
install -d $(DESTDIR)/etc/systemd/system
11-
install timers/zfs-auto-daily.service $(DESTDIR)/etc/systemd/system/zfs-auto-daily.service
12-
install timers/zfs-auto-daily.timer $(DESTDIR)/etc/systemd/system/zfs-auto-daily.timer
13-
install timers/zfs-auto-hourly.service $(DESTDIR)/etc/systemd/system/zfs-auto-hourly.service
14-
install timers/zfs-auto-hourly.timer $(DESTDIR)/etc/systemd/system/zfs-auto-hourly.timer
15-
install timers/zfs-auto-weekly.service $(DESTDIR)/etc/systemd/system/zfs-auto-weekly.service
16-
install timers/zfs-auto-weekly.timer $(DESTDIR)/etc/systemd/system/zfs-auto-weekly.timer
10+
install -d $(DESTDIR)$(PREFIX)/lib/systemd/system
11+
install timers/zfs-auto-daily.service $(DESTDIR)$(PREFIX)/lib/systemd/system/zfs-auto-daily.service
12+
install timers/zfs-auto-daily.timer $(DESTDIR)$(PREFIX)/lib/systemd/system/zfs-auto-daily.timer
13+
install timers/zfs-auto-hourly.service $(DESTDIR)$(PREFIX)/lib/systemd/system/zfs-auto-hourly.service
14+
install timers/zfs-auto-hourly.timer $(DESTDIR)$(PREFIX)/lib/systemd/system/zfs-auto-hourly.timer
15+
install timers/zfs-auto-weekly.service $(DESTDIR)$(PREFIX)/lib/systemd/system/zfs-auto-weekly.service
16+
install timers/zfs-auto-weekly.timer $(DESTDIR)$(PREFIX)/lib/systemd/system/zfs-auto-weekly.timer

0 commit comments

Comments
 (0)