Install systemd units in the right location

Debian uses /lib/systemd/system for system unit files, while i'm
putting ostree under the /usr prefix which means the hardcoded path
fails. Leave it to configure to work out the right location for systemd
units (method copied from pollkit).

Furthermore instead of installing the unit in local-fs.target.wants by
hand add a [Install] section so systemctl enable does the right thing

https://bugzilla.gnome.org/show_bug.cgi?id=705864
This commit is contained in:
Sjoerd Simons authored and Colin Walters committed 2013-08-15 18:28:04 -04:00
1 parent a04bda126c
commit a00eb681a0
3 files changed
+19 -9

No files matched your search

+3
View File
@@ -31,3 +31,6 @@ ExecStart=/usr/sbin/ostree-remount
StandardInput=null
StandardOutput=syslog
StandardError=syslog+console
[Install]
WantedBy=local-fs.target