kolejne zmiany, dużo, zebrało się
This commit is contained in:
10
.config/systemd/user/gitwatch@.service
Normal file
10
.config/systemd/user/gitwatch@.service
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Watch file or directory and git commit all changes. run with: systemctl --user --now enable gitwatch@$(systemd-escape -- "'-r url/to/repository' /path/to/folder").service
|
||||
|
||||
[Service]
|
||||
Environment="SCRIPT_ARGS=%I"
|
||||
ExecStart=/usr/bin/bash -c "/home/paramah/bin/gitwatch ${SCRIPT_ARGS}"
|
||||
ExecStop=/bin/true
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Reference in New Issue
Block a user