README: add systemd configs
This commit is contained in:
parent
b70ee67c0d
commit
6bf67dd013
2 changed files with 15 additions and 0 deletions
9
systemd/ssh-compose-pro.path
Normal file
9
systemd/ssh-compose-pro.path
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[Unit]
|
||||||
|
Description=ssh-compose-pro configuration watcher
|
||||||
|
|
||||||
|
[Path]
|
||||||
|
PathModified=/home/user/.ssh/config.yaml
|
||||||
|
Unit=ssh-compose-pro.service
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
6
systemd/ssh-compose-pro.service
Normal file
6
systemd/ssh-compose-pro.service
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[Unit]
|
||||||
|
Description=ssh-compose-pro configuration runner
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/python3 /path/to/ssh_compose_pro/src/main.py /home/user/.ssh/config.yaml --out /home/user/.ssh/config
|
||||||
|
Type=oneshot
|
Loading…
Reference in a new issue