Compare commits

...

3 Commits
v0.1 ... master

Author SHA1 Message Date
4774c70c25 Remove spurious warning from snap metadata 2024-02-14 23:24:40 +00:00
508b0f9ccb Make the config info only readable to root
I don't know why this chmod didn't work previously
...it was a long time ago when I wrote this
2024-02-14 23:23:04 +00:00
b84283d7b2 Update for core 22 2024-02-14 21:55:21 +00:00
3 changed files with 6 additions and 7 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.snap

View File

@ -3,6 +3,4 @@
set -e set -e
cp $SNAP/default.conf $SNAP_DATA/config cp $SNAP/default.conf $SNAP_DATA/config
# The config file should not be world readable, but the snap user can't read it chmod 600 $SNAP_DATA/config
# either if it is chmodded. How to solve this?
#chmod 600 $SNAP_DATA/config

View File

@ -1,5 +1,6 @@
name: mythicbeastsddns name: mythicbeastsddns
version: 'git' version: 'git'
base: core22
summary: Automatically update dynamic dns for your Mythic Beasts hosts summary: Automatically update dynamic dns for your Mythic Beasts hosts
description: | description: |
Mythic Beasts customers can use this snap to automatically update dynamic dns Mythic Beasts customers can use this snap to automatically update dynamic dns
@ -7,12 +8,11 @@ description: |
ipv4hostname and ipv6hostname using the `snap set` command as detailed at ipv4hostname and ipv6hostname using the `snap set` command as detailed at
https://docs.snapcraft.io/reference/snap-command#set . Activate the updater by https://docs.snapcraft.io/reference/snap-command#set . Activate the updater by
setting the updateipv4 and/or updateipv6 keys to "yes". setting the updateipv4 and/or updateipv6 keys to "yes".
.
BEWARE - passwords are stored in world-readable plain text. Until I can find a
way around this problem do not use this snap in production.
grade: stable grade: stable
confinement: strict confinement: strict
architectures: [ all ] architectures:
- build-on: [amd64]
build-for: [all]
apps: apps:
mythicbeastsddns: mythicbeastsddns: