mirror of
https://github.com/derfenix/photocatalog.git
synced 2026-03-12 06:34:57 +03:00
Compare commits
2 Commits
v2.0.4
...
e66070383f
| Author | SHA1 | Date | |
|---|---|---|---|
| e66070383f | |||
| 438cd3d86f |
@@ -100,10 +100,11 @@
|
||||
wantedBy = [
|
||||
"default.target"
|
||||
];
|
||||
preStart = if !sync.skipFullSync then (''
|
||||
preStart = ''
|
||||
mkdir -p ${sync.target}
|
||||
'' + (if !sync.skipFullSync then (''
|
||||
photocatalog -source ${sync.source} -target ${sync.target} -mode ${sync.mode} ${if sync.overwrite then "-overwrite" else ""}
|
||||
'') else null;
|
||||
'') else null);
|
||||
script = "photocatalog -source ${sync.source} -target ${sync.target} -skip-full-sync -watch -mode ${sync.mode} ${if sync.overwrite then "-overwrite" else ""}";
|
||||
serviceConfig = {
|
||||
Type="simple";
|
||||
|
||||
Reference in New Issue
Block a user