Skip to content

Commit

Permalink
samba: smbd/nmbd: always restart on crash
Browse files Browse the repository at this point in the history
  • Loading branch information
sraue committed Nov 16, 2014
1 parent ee6c904 commit 83a9ece
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/network/samba/system.d.opt/nmbd.service
Expand Up @@ -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]
Expand Down
2 changes: 2 additions & 0 deletions packages/network/samba/system.d.opt/smbd.service
Expand Up @@ -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]
Expand Down

0 comments on commit 83a9ece

Please sign in to comment.