Switch to Lua 5.2 (fixes build with new trunk packages)

This commit is contained in:
Matthew Wild 2020-11-11 12:19:42 +00:00
parent 4d3a1cd274
commit cd78ad3241
2 changed files with 7 additions and 2 deletions

View File

@ -2,7 +2,7 @@
nodaemon=true
[program:prosody]
command=/usr/bin/lua5.1 /usr/bin/prosody
command=/usr/bin/lua5.2 /usr/bin/prosody
priority=1000
autorestart=true
stopwaitsecs=30

View File

@ -1,5 +1,10 @@
---
- name: "Install Lua 5.2"
apt:
name: lua5.2
state: present
install_recommends: no
- name: "Add Prosody package signing key"
apt_key:
url: "https://packages.prosody.im/debian/pubkey.asc"
@ -47,7 +52,7 @@
name: prosody
state: stopped
- name: "Allow Prosody to bind service ports"
command: setcap 'cap_net_bind_service=+ep' /usr/bin/lua5.1
command: setcap 'cap_net_bind_service=+ep' /usr/bin/lua5.2
- name: Install Mercurial
apt: