summary history branches tags files
commit:97e73974f3ffe85c3d8d01dc352a1d136974b38c
author:Trevor Bentley
committer:Trevor Bentley
date:Thu Nov 16 10:03:26 2017 +0100
parents:d195e53734138c673eca83aa4fe3cb502068ea16
Install service to /usr/lib/systemd
diff --git a/Cargo.toml b/Cargo.toml
line changes: +1/-1
index 5684327..ec4f90c
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -24,7 +24,7 @@ priority = "optional"
 assets = [
        ["target/release/circadian", "usr/bin/", "755"],
        ["resources/circadian.conf.in", "etc/circadian.conf", "644"],
-       ["resources/circadian.service", "etc/systemd/system/", "644"],
+       ["resources/circadian.service", "usr/lib/systemd/system/", "644"],
 ]
 
 [package.metadata.release]

diff --git a/README.md b/README.md
line changes: +1/-1
index ba1984a..1c34c5e
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ $ cd circadian
 $ cargo build --release
 $ sudo cp target/release/circadian /usr/bin/
 $ sudo cp resources/circadian.conf.in /etc/circadian.conf
-$ sudo cp resources/circadian.service /etc/systemd/system/
+$ sudo cp resources/circadian.service /usr/lib/systemd/system/
 $ sudo systemctl enable circadian
 $ sudo systemctl start circadian
 ```