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:
|
||||
status: service
|
||||
log: [/var/log/mail.log,/var/log/mail.err]
|
||||
rmilter:
|
||||
status: systemctl status rmilter.socket
|
||||
rspamd:
|
||||
status: systemctl status rspamd.socket
|
||||
mysql:
|
||||
status: service
|
||||
log: [/var/log/mysql.log,/var/log/mysql.err]
|
||||
|
@ -36,16 +40,10 @@ yunohost-api:
|
|||
postgrey:
|
||||
status: service
|
||||
log: /var/log/mail.log
|
||||
amavis:
|
||||
status: service
|
||||
log: /var/log/mail.log
|
||||
nslcd:
|
||||
status: service
|
||||
log: /var/log/syslog
|
||||
nsswitch:
|
||||
status: service
|
||||
spamassassin:
|
||||
status: service
|
||||
log: /var/log/mail.log
|
||||
udisks-glue:
|
||||
udisks2:
|
||||
status: service
|
||||
|
|
Loading…
Add table
Reference in a new issue