mirror of
https://github.com/YunoHost-Apps/timemachine_ynh.git
synced 2024-09-03 20:26:33 +02:00
added configs
This commit is contained in:
parent
d45dec3236
commit
b967c84c60
2 changed files with 33 additions and 0 deletions
20
conf/avahi-samba.service
Normal file
20
conf/avahi-samba.service
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
|
||||||
|
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
|
||||||
|
<service-group>
|
||||||
|
<name replace-wildcards="yes">%h</name>
|
||||||
|
<service>
|
||||||
|
<type>_smb._tcp</type>
|
||||||
|
<port>445</port>
|
||||||
|
</service>
|
||||||
|
<service>
|
||||||
|
<type>_device-info._tcp</type>
|
||||||
|
<port>9</port>
|
||||||
|
<txt-record>model=TimeCapsule8,119</txt-record>
|
||||||
|
</service>
|
||||||
|
<service>
|
||||||
|
<type>_adisk._tcp</type>
|
||||||
|
<port>9</port>
|
||||||
|
<txt-record>dk0=adVN=__APP__,adVF=0x82</txt-record>
|
||||||
|
<txt-record>sys=adVF=0x100</txt-record>
|
||||||
|
</service>
|
||||||
|
</service-group>
|
13
conf/smb.conf
Normal file
13
conf/smb.conf
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
[__APP__]
|
||||||
|
comment = Time Machine
|
||||||
|
path = __DATADIR__
|
||||||
|
valid users = __APP__
|
||||||
|
browseable = yes
|
||||||
|
writeable = yes
|
||||||
|
create mask = 0600
|
||||||
|
directory mask = 0700
|
||||||
|
spotlight = yes
|
||||||
|
vfs objects = catia fruit streams_xattr
|
||||||
|
fruit:aapl = yes
|
||||||
|
fruit:time machine = yes
|
||||||
|
fruit:resource = xattr
|
Loading…
Reference in a new issue