diff options
author | William Harrington <kb0iic@berzerkula.org> | 2014-03-05 13:16:40 -0600 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2014-03-05 13:16:40 -0600 |
commit | d3078b183348e703cf5928128d2706c31fc7d870 (patch) | |
tree | d63a12e38bbf721d79d3181351e1efc1bfc22af9 /clfs/units/smbd.service |
Initial commit.
Diffstat (limited to 'clfs/units/smbd.service')
-rw-r--r-- | clfs/units/smbd.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/clfs/units/smbd.service b/clfs/units/smbd.service new file mode 100644 index 0000000..2d6da9c --- /dev/null +++ b/clfs/units/smbd.service @@ -0,0 +1,13 @@ +[Unit] +Description=Samba SMB/CIFS server +After=network.target nmbd.service winbindd.service + +[Service] +Type=forking +EnvironmentFile=/etc/default/samba +PIDFile=/run/samba/smbd.pid +ExecStart=/usr/sbin/smbd -D $SMBD_OPTS +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target |