Install service to /usr/lib/systemd
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]
$ 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
```