bundles: move non-login users to items.py
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2020-11-10 13:23:22 +01:00
parent d0647b2e3c
commit 6cd02dc563
Signed by: kunsi
GPG key ID: 12E3D2136B818350
14 changed files with 53 additions and 40 deletions

View file

@ -8,7 +8,16 @@ downloads = {
}, },
} }
users = {
'git': {},
}
directories = { directories = {
'/home/git': {
'mode': '0755',
'owner': 'git',
'group': 'git',
},
'/var/lib/gitea': { '/var/lib/gitea': {
'owner': 'git', 'owner': 'git',
'mode': '0700', 'mode': '0700',

View file

@ -1,10 +1,4 @@
defaults = { defaults = {
'users': {
'git': {
'do_not_remove_authorized_keys_from_home': True,
'home-mode': '0755',
},
},
'gitea': { 'gitea': {
'database': { 'database': {
'username': 'gitea', 'username': 'gitea',

View file

@ -24,6 +24,12 @@ actions = {
}, },
} }
users = {
'mautrix-telegram': {
'home': '/opt/mautrix-telegram',
},
}
directories = { directories = {
'/opt/mautrix-telegram/src': {}, '/opt/mautrix-telegram/src': {},
} }

View file

@ -4,12 +4,6 @@ defaults = {
'ffmpeg': {}, 'ffmpeg': {},
}, },
}, },
'users': {
'mautrix-telegram': {
'home': '/opt/mautrix-telegram',
'home-mode': '0755',
},
},
'matrix-synapse': { 'matrix-synapse': {
'appservice_configs': { 'appservice_configs': {
'/opt/mautrix-telegram/registration.yaml', '/opt/mautrix-telegram/registration.yaml',

View file

@ -10,6 +10,12 @@ directories = {
}, },
} }
users = {
'mx-puppet-discord': {
'home': '/opt/mx-puppet-discord',
},
}
files = { files = {
'/opt/mx-puppet-discord/config.yaml': { '/opt/mx-puppet-discord/config.yaml': {
'owner': 'mx-puppet-discord', 'owner': 'mx-puppet-discord',

View file

@ -1,10 +1,4 @@
defaults = { defaults = {
'users': {
'mx-puppet-discord': {
'home': '/opt/mx-puppet-discord',
'home-mode': '0755',
},
},
'matrix-synapse': { 'matrix-synapse': {
'appservice_configs': { 'appservice_configs': {
'/opt/mx-puppet-discord/registration.yaml', '/opt/mx-puppet-discord/registration.yaml',

View file

@ -6,6 +6,12 @@ directories = {
}, },
} }
users = {
'radicale': {
'home': '/var/lib/radicale',
},
}
files = { files = {
'/etc/systemd/system/radicale.service': { '/etc/systemd/system/radicale.service': {
'triggers': { 'triggers': {

View file

@ -4,9 +4,4 @@ defaults = {
'python3-radicale': {}, 'python3-radicale': {},
}, },
}, },
'users': {
'radicale': {
'home': '/var/lib/radicale',
},
},
} }

View file

@ -1,3 +1,17 @@
users = {
'seafile': {
'home': '/opt/seafile',
},
}
directories = {
'/opt/seafile': {
'mode': '0755',
'owner': 'seafile',
'group': 'seafile',
},
}
files = { files = {
'/etc/systemd/system/seafile.service': { '/etc/systemd/system/seafile.service': {
'needed_by': { 'needed_by': {

View file

@ -7,10 +7,4 @@ defaults = {
'python3-pip': {}, 'python3-pip': {},
}, },
}, },
'users': {
'seafile': {
'home': '/opt/seafile',
'home-mode': '0755',
},
},
} }

View file

@ -5,6 +5,12 @@ pkg_apt = {
'cpanminus': {}, 'cpanminus': {},
} }
users = {
'travelynx': {
'home': '/opt/travelynx',
},
}
directories = { directories = {
'/var/cache/travelynx': { '/var/cache/travelynx': {
'owner': 'travelynx', 'owner': 'travelynx',

View file

@ -1,10 +1,4 @@
defaults = { defaults = {
'users': {
'travelynx': {
'home': '/opt/travelynx',
'home-mode': '0755',
},
},
'travelynx': { 'travelynx': {
'database': { 'database': {
'username': 'travelynx', 'username': 'travelynx',

View file

@ -38,6 +38,12 @@ streams = {
files = {} files = {}
svc_systemd = {} svc_systemd = {}
users = {
'voc': {
'home': '/opt/voc-loudness-monitor',
},
}
for stream_id, config in streams.items(): for stream_id, config in streams.items():
config['id'] = stream_id config['id'] = stream_id

View file

@ -4,9 +4,4 @@ defaults = {
'ffmpeg': {}, 'ffmpeg': {},
}, },
}, },
'users': {
'voc': {
'home': '/opt/voc-loudness-monitor',
},
},
} }