: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
action :sync
repository "https://github.com/zerebubuth/planet-dump-ng.git"
- revision "v1.1.8"
+ revision "v1.2.0"
depth 1
user "root"
group "root"
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