distribution/packages/network/avahi/system.d/avahi-defaults.service

12 lines
302 B
SYSTEMD
Raw Normal View History

2022-02-05 14:23:32 +00:00
[Unit]
Description=Avahi defaults
After=local-fs.target
ConditionPathExists=!/storage/.cache/services/avahi.conf
ConditionPathExists=!/storage/.cache/services/avahi.disabled
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'cp /usr/share/services/avahi.conf /storage/.cache/services/'
RemainAfterExit=yes