diff options
author | Dennis Eriksen <d@ennis.no> | 2019-11-16 13:52:27 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2019-11-16 13:52:27 +0100 |
commit | 06a97a881807752dffb136d86d5b27d8f9ae6ac1 (patch) | |
tree | 09d75b62202c983b169976eb152dcde5411ba567 /mkosi.postinst | |
parent | This container now works. I have added a README, and a service-file, and twea... (diff) | |
download | mkosi-vaultwarden-06a97a881807752dffb136d86d5b27d8f9ae6ac1.tar.gz |
fuck ubuntus motd
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-x | mkosi.postinst | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mkosi.postinst b/mkosi.postinst index b0330d1..1e2a735 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -1,4 +1,14 @@ #!/bin/sh +set -ex +export DEBIAN_FRONTEND=noninteractive + +# motd +chmod 644 /etc/update-motd.d/* +systemctl mask motd-news.service +systemctl mask motd-news.timer + + +# set up bitwarden mv /bitwarden_rs /usr/local/bin/ mkdir /var/lib/bitwarden_rs /etc/bitwarden_rs @@ -7,4 +17,3 @@ chown -R bitwarden_rs: /var/lib/bitwarden_rs /etc/bitwarden_rs chmod 700 /var/lib/bitwarden_rs /etc/bitwarden_rs systemctl enable bitwarden_rs - |