-
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.
Add systemd unit and timer for synchroneous and asynchronous tasks (#50…
…) (#260) Co-authored-by: Xavier Bachelot <[email protected]>
- Loading branch information
1 parent
617b370
commit 6b0b6b9
Showing
14 changed files
with
196 additions
and
429 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 |
---|---|---|
@@ -1 +1 @@ | ||
8 | ||
11 |
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
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
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 |
---|---|---|
|
@@ -7,3 +7,21 @@ | |
dh $@ | ||
|
||
override_dh_compress: | ||
|
||
override_dh_testdir: | ||
## systemd | ||
cp -f lib/systemd/system/lsc-async.service debian/ | ||
cp -f lib/systemd/system/[email protected] debian/ | ||
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 etc/default/lsc-async debian/lsc-async.default | ||
cp -f etc/default/lsc-sync debian/lsc-sync.default | ||
dh_testdir | ||
|
||
override_dh_installsystemd: | ||
dh_installsystemd --no-start --no-enable --no-stop-on-upgrade --name=lsc-async | ||
dh_installsystemd --no-start --no-enable --no-stop-on-upgrade --name=lsc-async@ | ||
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 |
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
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,16 @@ | ||
#==================================================================== | ||
# Configuration for LSC init script | ||
# (http://www.lsc-project.org). | ||
#==================================================================== | ||
|
||
# JMX | ||
LSC_JMXPORT="1099" | ||
|
||
# JAVA | ||
#JAVA_HOME=/usr/java/jdk/jre | ||
|
||
LSC_CONFIG_DIR="/etc/lsc" | ||
LSC_SYNC_TASKS="-s all" | ||
#LSC_ASYNC_TASKS="" | ||
LSC_CLEAN_TASKS="-c all" | ||
LSC_EXTRA_ARGS="" |
Oops, something went wrong.