foreman-export-systemd_user 0.2.0 → 0.2.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: f1da014b907b4e3d9b607f3a8d2309bf8c4a294d96ae4b87c427a2adf3dfc08b
4
- data.tar.gz: 6ae264bb76352d92fecd9810c9c2353ea623ea49a9f99ec1f8bed7b1413b2088
3
+ metadata.gz: b03ca222cc9bdd5faeb5b83d7502e8a474b0f17757027069a61d1ea371b97d34
4
+ data.tar.gz: b4ab848e3daff0171b3abac450a5927c978e7801e7f51c52bb3aa182855cb554
5
5
  SHA512:
6
- metadata.gz: 1a69c9692b060a6248edb0a46b759a7218bfbc614f1a458420f064be5a4b33e24c0dd232dae69c67a6a966533f7a81d1f1828e73ac0944b4c10081716a24068d
7
- data.tar.gz: 6e4f1042467b14f69a453690672741e60ef7c94d670db12363203a9f6c7fb0597b53bab8cd17b8d1e687aaf715db7f97345a7b3783f3af89d1f7cd858772cf0f
6
+ metadata.gz: 3d4e520fa7e89e7f0b09767eac6a0a00baf2f941d04e9e33e3bee9dd35cfe6bc438b8eaf761056c18d68f1a3f2f94bd6b9331d6ed9d64bf772f85ebcb2225914
7
+ data.tar.gz: cc120ed2047d131e3da8fc7c37be10adf9abf2d7d104d7e8804503f5021d580b7cf8b87c8c0a512a22f2f3bf7ed52ed16f18f42cb5f1f3db5ed59b6f923b33e4
data/README.md CHANGED
@@ -11,14 +11,17 @@ then
11
11
  bundle exec foreman export systemd-user --app <app-name>
12
12
  ```
13
13
 
14
- Note that this may break from foreman's protocol a bit, because it starts the processes after export. It does this by running the following:
14
+ After export, this runs the following to configure systemd:
15
15
  ```
16
16
  systemctl --user daemon-reload
17
17
  loginctl enable-linger
18
18
  systemctl --user enable <app-name>.target
19
+ ```
20
+
21
+ To start or restart your services after export:
22
+ ```
19
23
  systemctl --user restart <app-name>.target
20
24
  ```
21
- After forgetting to run these steps enough times, I just decided to bake it into the export.
22
25
 
23
26
  ## Including extra systemd files
24
27
 
@@ -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.2.0"
5
+ s.version = "0.2.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"
@@ -86,7 +86,6 @@ class Foreman::Export::SystemdUser < Foreman::Export::Base
86
86
  run_command "systemctl --user daemon-reload"
87
87
  run_command "test -f /var/lib/systemd/linger/$USER || loginctl enable-linger"
88
88
  run_command "systemctl --user enable #{app}.target"
89
- run_command "systemctl --user restart #{app}.target"
90
89
  enable_timers
91
90
  end
92
91
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman-export-systemd_user
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel