cp -rvf examples/$${file} $(DESTDIR)/etc/pakfire/; \
done
+ # Install systemd file.
+ -mkdir -pv $(DESTDIR)/usr/lib/systemd/system
+ cp -vf systemd/*.systemd $(DESTDIR)/usr/lib/systemd/system
+
.PHONY: check
check: all
PYTHONPATH=python/src/ pylint -E python/pakfire
--- /dev/null
+[Unit]
+Description=Pakfire Daemon
+After=network.target
+Requires=network.target
+
+[Service]
+KillMode=process
+SendSIGKILL=false
+TimeoutStopSec=0
+
+ExecStart=/usr/bin/pakfire-daemon
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target