-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[+] Add service wrappers to the package, closes #2
- Loading branch information
1 parent
d2fb085
commit cef9caf
Showing
6 changed files
with
36 additions
and
99 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
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,7 @@ | ||
<service> | ||
<id>etcd</id> | ||
<name>etcd</name> | ||
<description>Distributed reliable key-value store</description> | ||
<executable>%BASE%\etcd\ectd.exe</executable> | ||
<arguments>--config-file=%BASE%\etcd.conf</arguments> | ||
</service> |
File renamed without changes.
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,14 @@ | ||
<service> | ||
<id>patroni</id> | ||
<name>Patroni HA Windows Service</name> | ||
<description>Patroni high-availability solution using Python and etcd</description> | ||
<executable>C:\Users\pasha\AppData\Local\Programs\Python\Python38\python.exe</executable> | ||
<arguments>%BASE%\patroni\patroni.py %BASE%\postgres-win0.yml</arguments> | ||
<stopparentprocessfirst>true</stopparentprocessfirst> | ||
<log mode="roll"></log> | ||
<logpath>%BASE%\log</logpath> | ||
<serviceaccount> | ||
<user>postgres</username> | ||
<password>12345</password> | ||
</serviceaccount> | ||
</service> |
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
<service> | ||
<id>vip-manager</id> | ||
<name>vip-manager</name> | ||
<description>Manager for a virtual IP based on state kept in etcd or Consul </description> | ||
<executable>%BASE%\vip-manager\vip-manager.exe</executable> | ||
<arguments>-config %BASE%\vip-manager.yml</arguments> | ||
</service> |