-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9820df2
commit 0f96344
Showing
4 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ override_dh_testdir: | |
cp -f lib/systemd/system/lsc-sync.service debian/ | ||
cp -f lib/systemd/system/lsc-sync.timer debian/ | ||
cp -f lib/systemd/system/[email protected] debian/ | ||
cp -f lib/systemd/system/[email protected] debian/ | ||
cp -f etc/default/lsc-async debian/lsc-async.default | ||
cp -f etc/default/lsc-sync debian/lsc-sync.default | ||
dh_testdir | ||
|
@@ -25,6 +26,7 @@ override_dh_installsystemd: | |
dh_installsystemd --no-start --no-enable --no-stop-on-upgrade --name=lsc-sync | ||
dh_installsystemd --no-start --no-enable --no-stop-on-upgrade --name=lsc-sync@ | ||
dh_installsystemd --name=lsc-sync.timer | ||
dh_installsystemd [email protected] | ||
|
||
|
||
override_dh_install: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Unit] | ||
Description=Periodically run LSC %I | ||
|
||
[Timer] | ||
OnCalendar= *:30:00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,6 +97,7 @@ install -p -m 0644 lib/systemd/system/[email protected] %{buildroot}%{_unitdir} | |
install -p -m 0644 lib/systemd/system/lsc-sync.service %{buildroot}%{_unitdir}/ | ||
install -p -m 0644 lib/systemd/system/[email protected] %{buildroot}%{_unitdir}/ | ||
install -p -m 0644 lib/systemd/system/lsc-sync.timer %{buildroot}%{_unitdir}/ | ||
install -p -m 0644 lib/systemd/system/[email protected] %{buildroot}%{_unitdir}/ | ||
## man | ||
cp -a doc/man/man1/* %{buildroot}%{_mandir}/man1/ | ||
cp -a doc/man/man5/* %{buildroot}%{_mandir}/man5/ | ||
|
@@ -171,6 +172,7 @@ getent passwd lsc > /dev/null 2>&1 || \ | |
%{_unitdir}/lsc-sync.service | ||
%{_unitdir}/[email protected] | ||
%{_unitdir}/lsc-sync.timer | ||
%{_unitdir}/[email protected] | ||
%{_libdir}/lsc/ | ||
%attr(-,lsc,lsc) %{lsc_logdir} | ||
%attr(-,lsc,lsc) %{_sharedstatedir}/lsc/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,6 +145,7 @@ | |
<include>lsc-sync.service</include> | ||
<include>[email protected]</include> | ||
<include>lsc-sync.timer</include> | ||
<include>[email protected]</include> | ||
</includes> | ||
<outputDirectory>lib/systemd/system</outputDirectory> | ||
<fileMode>0644</fileMode> | ||
|