samba: smbd/nmbd: always restart on crash

This commit is contained in:
Stephan RAUE 2014-11-16 13:14:29 +02:00 committed by Stephan Raue
parent ee6c904146
commit 83a9ece141
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,8 @@ PIDFile=/var/run/nmbd-smb.conf.pid
ExecStart=/usr/bin/nmbd --configfile=/run/samba/smb.conf
ExecReload=/bin/kill -HUP $MAINPID
TimeoutStopSec=1s
Restart=always
RestartSec=2
StartLimitInterval=0
[Install]

View File

@ -13,6 +13,8 @@ LimitNOFILE=16384
ExecStart=/usr/bin/smbd --configfile=/run/samba/smb.conf
ExecReload=/bin/kill -HUP $MAINPID
TimeoutStopSec=1s
Restart=always
RestartSec=2
StartLimitInterval=0
[Install]