printer facts?
Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
parent
4d65b3d188
commit
2fd4177373
|
@ -0,0 +1,5 @@
|
|||
# logging config
|
||||
RUST_LOG=info
|
||||
|
||||
# socket path
|
||||
SOCKPATH=/tmp/printerfacts.sock
|
|
@ -9,7 +9,6 @@ ExecStart=/usr/bin/printerfacts
|
|||
Restart=on-failure
|
||||
User=printerfacts
|
||||
WorkingDirectory=/var/lib/printerfacts
|
||||
Environment=RUST_LOG=info
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -7,9 +7,10 @@ Summary: Printer facts: The API
|
|||
Version: @@VERSION@@
|
||||
Release: @@RELEASE@@%{?dist}
|
||||
License: MIT
|
||||
Group: Applications/System
|
||||
Group: Network
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: printerfacts.service
|
||||
Source2: printerfacts.default
|
||||
Requires(pre): /usr/sbin/useradd, /usr/bin/getent
|
||||
Requires(postun): /usr/sbin/userdel
|
||||
|
||||
|
@ -62,7 +63,8 @@ rm -rf %{buildroot}
|
|||
mkdir -p %{buildroot}
|
||||
cp -a * %{buildroot}
|
||||
mkdir -p %{buildroot}%{_unitdir}
|
||||
install -m 0644 %{pkgname}.service %{buildroot}%{_unitdir}
|
||||
install -m 0644 ./%{pkgname}.service %{buildroot}%{_unitdir}
|
||||
install -m 0644 ./%{pkgname}.default %{buildroot}/etc/default/printerfacts
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
|
Loading…
Reference in New Issue