mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
samba: remove monitor service files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
d89e199dac
commit
108f854955
@ -174,7 +174,6 @@ makeinstall_target() {
|
|||||||
mkdir -p $INSTALL/lib/systemd/system
|
mkdir -p $INSTALL/lib/systemd/system
|
||||||
cp $PKG_DIR/system.d.opt/* $INSTALL/lib/systemd/system
|
cp $PKG_DIR/system.d.opt/* $INSTALL/lib/systemd/system
|
||||||
|
|
||||||
enable_service smbd-monitor.path
|
|
||||||
enable_service nmbd.service
|
enable_service nmbd.service
|
||||||
enable_service smbd.service
|
enable_service smbd.service
|
||||||
|
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Samba configfile monitor
|
|
||||||
|
|
||||||
[Path]
|
|
||||||
PathModified=/storage/.cache/services/samba.conf
|
|
||||||
PathModified=/storage/.config/samba.conf
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -1,12 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Samba configfile monitor
|
|
||||||
After=smbd.service nmbd.service samba-config.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
ExecStartPre=/bin/systemctl restart samba-config.service
|
|
||||||
ExecStartPre=/bin/systemctl restart nmbd.service
|
|
||||||
ExecStart=/bin/systemctl restart smbd.service
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
Loading…
x
Reference in New Issue
Block a user