[Git][debian-gis-team/josm-installer][master] 2 commits: Add default file to pass options to the systemd service.

Bas Couwenberg gitlab at salsa.debian.org
Wed Apr 8 19:41:42 BST 2020



Bas Couwenberg pushed to branch master at Debian GIS Project / josm-installer


Commits:
10685737 by Bas Couwenberg at 2020-04-08T20:35:12+02:00
Add default file to pass options to the systemd service.

- - - - -
47348707 by Bas Couwenberg at 2020-04-08T20:35:59+02:00
Set distribution to unstable.

- - - - -


4 changed files:

- + debian/README.Debian
- debian/changelog
- + debian/default
- josm-installer.service


Changes:

=====================================
debian/README.Debian
=====================================
@@ -0,0 +1,21 @@
+JOSM Installer
+==============
+
+The josm-installer package is an alternative to the josm package. The josm
+package builds JOSM from source whereas josm-installer downloads the JAR
+provided by the JOSM project.
+
+Both josm and josm-installer use the 'tested' variant, but josm-installer can
+also be used to download the 'latest' variant.
+
+The josm-installer package contain the desktop integration for JOSM, the
+josm-installer script to download the JAR, and a systemd service and timer
+to periodically download new builds of the JAR.
+
+To have the josm-installer script download the 'latest' JAR instead of
+'tested' use the -L/--latest option. To have the systemd service use this
+or any other option edit /etc/default/josm-installer.
+
+Because both the josm and josm-installer package provide /usr/bin/josm and
+related files, the packages conflict and cannot be installed on the same
+system.


=====================================
debian/changelog
=====================================
@@ -1,11 +1,13 @@
-josm-installer (0.0.1+svn16006~exp2) UNRELEASED; urgency=medium
+josm-installer (0.0.1+svn16006) unstable; urgency=medium
 
   * Handle ~ suffix in update-linux.sh.
   * Bump debhelper compat to 10, changes:
     - Drop --parallel option, enabled by default
     - Don't explicitly enable systemd, enabled by default
+  * Add default file to pass options to the systemd service.
+  * Move from experimental to unstable.
 
- -- Bas Couwenberg <sebastic at debian.org>  Thu, 12 Mar 2020 15:20:23 +0100
+ -- Bas Couwenberg <sebastic at debian.org>  Wed, 08 Apr 2020 20:35:16 +0200
 
 josm-installer (0.0.1+svn16006~exp1) experimental; urgency=medium
 


=====================================
debian/default
=====================================
@@ -0,0 +1,8 @@
+# defaults file for josm-installer
+# (this file is a /bin/sh compatible fragment)
+
+# SCRIPT_OPTS are any extra cmdline parameters you'd like to pass along to the
+# josm-installer script.
+#
+# The -L option downloads the 'latest' JAR instead of 'tested'.
+#SCRIPT_OPTS="-L"


=====================================
josm-installer.service
=====================================
@@ -4,5 +4,6 @@ Documentation=man:josm-installer(1)
 
 [Service]
 Type=oneshot
-ExecStart=/usr/bin/josm-installer
+EnvironmentFile=-/etc/default/josm-installer
+ExecStart=/usr/bin/josm-installer $SCRIPT_OPTS
 PrivateTmp=true



View it on GitLab: https://salsa.debian.org/debian-gis-team/josm-installer/-/compare/e670aa4ced1f602e45b8bc10cf6d9ba8c9dcde3a...4734870756c50d5a69e027042cdb1b513d88dbf7

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/josm-installer/-/compare/e670aa4ced1f602e45b8bc10cf6d9ba8c9dcde3a...4734870756c50d5a69e027042cdb1b513d88dbf7
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20200408/237af270/attachment-0001.html>


More information about the Pkg-grass-devel mailing list