13 lines
278 B
SYSTEMD
13 lines
278 B
SYSTEMD
|
[Unit]
|
||
|
Description=Automatically commit notes in directory
|
||
|
After=graphical.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
Environment=TIME_TO_COMMIT=120 UNCHANGED_RUNS_TO_PUSH=30
|
||
|
ExecStart=/bin/bash -c '%h/.local/share/services/git-sync'
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|