Always make soffice daemon init scripts executable
This commit is contained in:
parent
303f650a0b
commit
ba05d616d8
|
@ -273,6 +273,7 @@ class Deployer(object):
|
|||
if name is None:
|
||||
name = local_path.split('/')[-1]
|
||||
kwargs.setdefault('use_sudo', True)
|
||||
kwargs.setdefault('mode', '0755')
|
||||
self.deploy(c, local_path, '/etc/init.d/{}'.format(name), **kwargs)
|
||||
if register:
|
||||
c.sudo('update-rc.d {} defaults'.format(name))
|
||||
|
|
Loading…
Reference in a new issue