:user => "root",
:path => "/store/backup",
:events => %w[IN_CREATE IN_MOVED_TO],
- :command => "/usr/bin/systemctl start planetdump@$#"
+ :command => "/bin/systemctl start planetdump@$#"
}
include_recipe "git"
directory "/opt/planet-dump-ng" do
owner "root"
group "root"
- mode 0o755
+ mode "755"
end
git "/opt/planet-dump-ng" do
directory "/store/planetdump" do
owner "www-data"
group "www-data"
- mode 0o755
+ mode "755"
recursive true
end
source "#{program}.erb"
owner "root"
group "root"
- mode 0o755
+ mode "755"
end
end