• Home
  • History
  • Annotate
  • only in /samba/packaging/systemd/
NameDateSize

..10-Feb-20154 KiB

nmb.service23-Apr-2014286

README29-Dec-2012670

samba.conf.tmp29-Dec-201232

samba.service23-Apr-2014306

samba.sysconfig29-Dec-2012428

smb.service23-Apr-2014332

winbind.service23-Apr-2014315

README

1With systemd the /run or /var/run are tmpfs filesystems. This means
2the direcories required by samba need to be created during startup.
3This can be done with a config file for tmpfiles, see samba.conf.tmp.
4You need to copy this file to the directoy systemd-tmpfiles is looking
5for its config files e.g.:
6
7install -d -m 0755 /etc/tmpfiles.d/
8install -m644 samba.conf.tmp /etc/tmpfiles.d/samba.conf
9
10If you're a packager don't forget to run the systemd-tmpfiles binary
11in the script after samba has been installed. This makes sure the
12directory exists and you can start samba directly after the installation.
13
14/usr/bin/systemd-tmpfiles --create /etc/tmpfiles.d/samba.conf
15