third_party/heimdal: Import lorikeet-heimdal-202407041740 (commit 42ba2a6e5dd1bc14a8b...
[Samba.git] / packaging / systemd / README
blob5d1d746dea65f3e4d7944f9282486ecc39208821
1 With systemd the /run or /var/run are tmpfs filesystems. This means
2 the directories required by samba need to be created during startup.
3 This can be done with a config file for tmpfiles, see samba.conf.tmp.
4 You need to copy this file to the directory systemd-tmpfiles is looking
5 for its config files e.g.:
7 install -d -m 0755 /etc/tmpfiles.d/
8 install -m644 samba.conf.tmp /etc/tmpfiles.d/samba.conf
10 If you're a packager don't forget to run the systemd-tmpfiles binary
11 in the script after samba has been installed. This makes sure the
12 directory exists and you can start samba directly after the installation.
14 /usr/bin/systemd-tmpfiles --create /etc/tmpfiles.d/samba.conf