foreman-export-systemd_user 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b835e13fd19acdc8804053b6bd5f59d2095df25ddb625d498f0fc02fd1d6b4f5
4
- data.tar.gz: b32310beb0dfe89131f1b5ad37ca7de95dcbe6e797367227aedde000efb30102
3
+ metadata.gz: f292c49b0a0e7093e4bcf532ecbba7d17f59aa4861acb64c30a06860de5ba47b
4
+ data.tar.gz: d9abf71ad5824572bc543ba4d11bf796313793708e2ed97955de84e29cba2802
5
5
  SHA512:
6
- metadata.gz: 5250966875ce10847049f267162e0aa45a3bdf3e95ec79b265d9e1e9de0106b8761855e8fcacc8609fae565e38f0f402e53de46dfb856d1942b507ac5dfe22b3
7
- data.tar.gz: dfb7964f718a6eaa653170437adde7af4aafcf1c606f937e0053d80bc410f97069cb40eb959c0d866687041bca92b2b9cd3b4003fc07239bd2a3318349ecdd9d
6
+ metadata.gz: 0e93864c1eb0821c94056295aed9daf674461c3906e15e0f1286148ca9018c801720950b09bf11079e27afa8fbbf036cb66bce54a999be9f566f6803cfabc5a5
7
+ data.tar.gz: af8bcbede3563ed10ffdc7047768b496c18639e1114a194c93cb34702cd7ba340682b2168ab0d3cf37d60b06bbb75863db0e74bfa8980a653f23a5e2ab794c21
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "foreman-export-systemd_user"
5
- s.version = "0.1.0"
5
+ s.version = "0.1.1"
6
6
  s.authors = ["Micah Geisel"]
7
7
  s.email = ["micah@botandrose.com"]
8
8
  s.homepage = "http://github.com/botandrose/foreman-export-systemd_user"
@@ -54,7 +54,7 @@ class Foreman::Export::SystemdUser < Foreman::Export::Base
54
54
 
55
55
  write_template "systemd_user/master.target.erb", "#{app}.target", binding
56
56
 
57
- run_command "loginctl enable-linger"
57
+ run_command "test -f /var/lib/systemd/linger/$USER || loginctl enable-linger"
58
58
  run_command "systemctl --user enable #{app}.target"
59
59
  run_command "systemctl --user restart #{app}.target"
60
60
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman-export-systemd_user
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-05 00:00:00.000000000 Z
11
+ date: 2020-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foreman