private_devices true
protect_system "full"
protect_home true
- no_new_privileges true
restart "on-failure"
pid_file "#{pid_directory}/gpx-import.pid"
end
-if %w(database_offline database_readonly gpx_offline).include?(node[:web][:status])
+if %w[database_offline database_readonly gpx_offline].include?(node[:web][:status])
service "gpx-import" do
action :stop
end