This commit is contained in:
Michael Grote 2023-08-02 20:56:31 +02:00
parent 2786f9d54d
commit 52b9bfb1eb
3 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ steps:
- # checkout latest stable release or stay on master for bleeding edge stuff (but expect bugs!)
#- git checkout $(git tag | grep "^v" | tail -n 1)
#- export version=$(git tag | grep "^v" | tail -n 1 | tr -d v)
- export version=3.0.2
- export version=3.0.3
- ls -lah
- pwd
- chmod 0755 sanoid
@ -66,7 +66,7 @@ steps:
- cd sanoid
- ls -lah
- pwd
- export version=3.0.2
- export version=3.0.3
- echo $version
- |
curl -X POST -H "token: $auth_token" -F "file=@./sanoid_$(echo $version).deb" http://docker10.grote.lan:5040/upload

View File

@ -8,7 +8,7 @@ ConditionFileNotEmpty=/etc/sanoid/sanoid.conf
[Service]
Type=oneshot
Environment=TZ=UTC
ExecStart=/usr/sbin/sanoid --prune-snapshots --verbose
ExecStart=/usr/bin/sanoid --prune-snapshots --verbose
[Install]
WantedBy=sanoid.service

View File

@ -10,4 +10,4 @@ ConditionFileNotEmpty=/etc/sanoid/sanoid.conf
[Service]
Type=oneshot
Environment=TZ=UTC
ExecStart=/usr/sbin/sanoid --take-snapshots --verbose
ExecStart=/usr/bin/sanoid --take-snapshots --verbose