mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Merge remote-tracking branch 'origin/unstable' into unstable
This commit is contained in:
commit
9ae8f333a8
3 changed files with 5 additions and 36 deletions
|
@ -1,20 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
force=$1
|
|
||||||
|
|
||||||
function safe_copy () {
|
|
||||||
if [[ "$force" == "True" ]]; then
|
|
||||||
sudo yunohost service safecopy \
|
|
||||||
-s udisks-glue $1 $2 --force
|
|
||||||
else
|
|
||||||
sudo yunohost service safecopy \
|
|
||||||
-s udisks-glue $1 $2
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
cd /usr/share/yunohost/templates/udisks-glue
|
|
||||||
|
|
||||||
if [[ "$(safe_copy udisks-glue.conf /etc/udisks-glue.conf | tail -n1)" == "True" ]]; then
|
|
||||||
sudo service udisks-glue restart
|
|
||||||
fi
|
|
|
@ -1,9 +0,0 @@
|
||||||
filter disks {
|
|
||||||
optical = false
|
|
||||||
partition_table = false
|
|
||||||
usage = filesystem
|
|
||||||
}
|
|
||||||
match disks {
|
|
||||||
automount=true
|
|
||||||
automount_options= { sync, noatime, "dmask=0", "fmask=0" }
|
|
||||||
}
|
|
|
@ -13,6 +13,10 @@ dovecot:
|
||||||
postfix:
|
postfix:
|
||||||
status: service
|
status: service
|
||||||
log: [/var/log/mail.log,/var/log/mail.err]
|
log: [/var/log/mail.log,/var/log/mail.err]
|
||||||
|
rmilter:
|
||||||
|
status: systemctl status rmilter.socket
|
||||||
|
rspamd:
|
||||||
|
status: systemctl status rspamd.socket
|
||||||
mysql:
|
mysql:
|
||||||
status: service
|
status: service
|
||||||
log: [/var/log/mysql.log,/var/log/mysql.err]
|
log: [/var/log/mysql.log,/var/log/mysql.err]
|
||||||
|
@ -36,16 +40,10 @@ yunohost-api:
|
||||||
postgrey:
|
postgrey:
|
||||||
status: service
|
status: service
|
||||||
log: /var/log/mail.log
|
log: /var/log/mail.log
|
||||||
amavis:
|
|
||||||
status: service
|
|
||||||
log: /var/log/mail.log
|
|
||||||
nslcd:
|
nslcd:
|
||||||
status: service
|
status: service
|
||||||
log: /var/log/syslog
|
log: /var/log/syslog
|
||||||
nsswitch:
|
nsswitch:
|
||||||
status: service
|
status: service
|
||||||
spamassassin:
|
udisks2:
|
||||||
status: service
|
|
||||||
log: /var/log/mail.log
|
|
||||||
udisks-glue:
|
|
||||||
status: service
|
status: service
|
||||||
|
|
Loading…
Add table
Reference in a new issue